HSL(268, 40%, 79%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(268,40%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(268, 40%, 79%) color: hsl(268, 40%, 79%)
HEX #C8B4DF color: #C8B4DF
RGB rgb(200, 180, 223) color: rgb(200, 180, 223)
CMYK cmyk(10%, 19%, 0%, 13%)
HSV hsv(268, 19%, 87%)
HWB hwb(268 70% 13%) color: hwb(268 70% 13%)
OKLCH oklch(0.8008 0.0635 306.07) color: oklch(0.8008 0.0635 306.07)
Lab lab(76.22 15.21 -18.94) color: lab(76.22 15.21 -18.94)
LCH lch(76.22 24.29 308.77) color: lch(76.22 24.29 308.77)

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.9:1
vs Black 11.05: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)

#BFBFD5 — rgb(191, 191, 213)

Deuteranopia (Green-blind)

#C1C2D2 — rgb(193, 194, 210)

Tritanopia (Blue-blind)

#C7CCCB — rgb(199, 204, 203)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(268, 40%, 79%);

text

color: hsl(268, 40%, 79%);

border

border: 2px solid hsl(268, 40%, 79%);

gradient light

background: linear-gradient(to right, hsl(268, 40%, 99%), hsl(268, 40%, 79%));

gradient dark

background: linear-gradient(to right, hsl(268, 40%, 79%), hsl(268, 40%, 59%))

hex

background-color: #C8B4DF;

tailwind

bg-[hsl(268,40%,79%)]

box shadow

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

css variable

--color-primary: hsl(268, 40%, 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(268, 40%, 79%)?

HEX: #C8B4DF | RGB: rgb(200, 180, 223) | CMYK: 10%, 19%, 0%, 13% | HSV: 268°, 19%, 87%. Copy any format from the conversion table above.

What colors go well with #C8B4DF?

The complementary color is HSL(88, 40%, 79%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(268, 40%, 79%) in CSS?

As HSL: color: hsl(268, 40%, 79%); — As HEX: color: #C8B4DF; — As RGB: color: rgb(200, 180, 223); — Tailwind CSS: bg-[hsl(268,40%,79%)] — CSS variable: --color-primary: hsl(268, 40%, 79%);