HSL(262, 20%, 79%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(262,20%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(262, 20%, 79%) color: hsl(262, 20%, 79%)
HEX #C7BFD4 color: #C7BFD4
RGB rgb(199, 191, 212) color: rgb(199, 191, 212)
CMYK cmyk(6%, 10%, 0%, 17%)
HSV hsv(263, 10%, 83%)
HWB hwb(263 75% 17%) color: hwb(263 75% 17%)
OKLCH oklch(0.8176 0.0303 302.99) color: oklch(0.8176 0.0303 302.99)
Lab lab(78.55 6.73 -9.49) color: lab(78.55 6.73 -9.49)
LCH lch(78.55 11.63 305.34) color: lch(78.55 11.63 305.34)

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.77:1
vs Black 11.83: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)

#C4C3CF — rgb(196, 195, 207)

Deuteranopia (Green-blind)

#C4C5CE — rgb(196, 197, 206)

Tritanopia (Blue-blind)

#C7CBCA — rgb(199, 203, 202)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(262, 20%, 79%);

text

color: hsl(262, 20%, 79%);

border

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

gradient light

background: linear-gradient(to right, hsl(262, 20%, 99%), hsl(262, 20%, 79%));

gradient dark

background: linear-gradient(to right, hsl(262, 20%, 79%), hsl(262, 20%, 59%))

hex

background-color: #C7BFD4;

tailwind

bg-[hsl(262,20%,79%)]

box shadow

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

css variable

--color-primary: hsl(262, 20%, 79%);

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, 20%, 79%)?

HEX: #C7BFD4 | RGB: rgb(199, 191, 212) | CMYK: 6%, 10%, 0%, 17% | HSV: 263°, 10%, 83%. Copy any format from the conversion table above.

What colors go well with #C7BFD4?

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

As HSL: color: hsl(262, 20%, 79%); — As HEX: color: #C7BFD4; — As RGB: color: rgb(199, 191, 212); — Tailwind CSS: bg-[hsl(262,20%,79%)] — CSS variable: --color-primary: hsl(262, 20%, 79%);