HSL(262, 62%, 82%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(262, 62%, 82%) color: hsl(262, 62%, 82%)
HEX #CAB5EE color: #CAB5EE
RGB rgb(202, 181, 238) color: rgb(202, 181, 238)
CMYK cmyk(15%, 24%, 0%, 7%)
HSV hsv(262, 24%, 93%)
HWB hwb(262 71% 7%) color: hwb(262 71% 7%)
OKLCH oklch(0.8101 0.0821 301.45) color: oklch(0.8101 0.0821 301.45)
Lab lab(77.15 18.44 -25.63) color: lab(77.15 18.44 -25.63)
LCH lch(77.15 31.57 305.73) color: lch(77.15 31.57 305.73)

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.85:1
vs Black 11.36: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)

#C1C1E0 — rgb(193, 193, 224)

Deuteranopia (Green-blind)

#C2C4DD — rgb(194, 196, 221)

Tritanopia (Blue-blind)

#C9D5D3 — rgb(201, 213, 211)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #CAB5EE;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(262, 62%, 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, 62%, 82%)?

HEX: #CAB5EE | RGB: rgb(202, 181, 238) | CMYK: 15%, 24%, 0%, 7% | HSV: 262°, 24%, 93%. Copy any format from the conversion table above.

What colors go well with #CAB5EE?

The complementary color is HSL(82, 62%, 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, 62%, 82%) in CSS?

As HSL: color: hsl(262, 62%, 82%); — As HEX: color: #CAB5EE; — As RGB: color: rgb(202, 181, 238); — Tailwind CSS: bg-[hsl(262,62%,82%)] — CSS variable: --color-primary: hsl(262, 62%, 82%);