HSL(262, 82%, 82%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,82%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 82%, 82%) color: hsl(262, 82%, 82%)
HEX #C7ABF7 color: #C7ABF7
RGB rgb(199, 171, 247) color: rgb(199, 171, 247)
CMYK cmyk(19%, 31%, 0%, 3%)
HSV hsv(262, 31%, 97%)
HWB hwb(262 67% 3%) color: hwb(262 67% 3%)
OKLCH oklch(0.7926 0.1095 300.85) color: oklch(0.7926 0.1095 300.85)
Lab lab(74.81 24.97 -34.1) color: lab(74.81 24.97 -34.1)
LCH lch(74.81 42.26 306.21) color: lch(74.81 42.26 306.21)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.98:1
vs Black 10.6:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#BBBBE5 — rgb(187, 187, 229)

Deuteranopia (Green-blind)

#BDBFE0 — rgb(189, 191, 224)

Tritanopia (Blue-blind)

#C6D6D3 — rgb(198, 214, 211)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 82%, 82%);

text

color: hsl(262, 82%, 82%);

border

border: 2px solid hsl(262, 82%, 82%);

gradient light

background: linear-gradient(to right, hsl(262, 82%, 100%), hsl(262, 82%, 82%));

gradient dark

background: linear-gradient(to right, hsl(262, 82%, 82%), hsl(262, 82%, 62%))

hex

background-color: #C7ABF7;

tailwind

bg-[hsl(262,82%,82%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(262, 82%, 82%, 0.4);

css variable

--color-primary: hsl(262, 82%, 82%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(262, 82%, 82%)?

HEX: #C7ABF7 | RGB: rgb(199, 171, 247) | CMYK: 19%, 31%, 0%, 3% | HSV: 262°, 31%, 97%. Copy any format from the conversion table above.

What colors go well with #C7ABF7?

The complementary color is HSL(82, 82%, 82%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(262, 82%, 82%) in CSS?

As HSL: color: hsl(262, 82%, 82%); — As HEX: color: #C7ABF7; — As RGB: color: rgb(199, 171, 247); — Tailwind CSS: bg-[hsl(262,82%,82%)] — CSS variable: --color-primary: hsl(262, 82%, 82%);