HSL(278, 35%, 83%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(278,35%,83%)]

Color Conversions

Format Value CSS Usage
HSL hsl(278, 35%, 83%) color: hsl(278, 35%, 83%)
HEX #D8C4E3 color: #D8C4E3
RGB rgb(216, 196, 227) color: rgb(216, 196, 227)
CMYK cmyk(5%, 14%, 0%, 11%)
HSV hsv(279, 14%, 89%)
HWB hwb(279 77% 11%) color: hwb(279 77% 11%)
OKLCH oklch(0.8465 0.0476 313.72) color: oklch(0.8465 0.0476 313.72)
Lab lab(81.63 12.61 -12.81) color: lab(81.63 12.61 -12.81)
LCH lch(81.63 17.98 314.55) color: lch(81.63 17.98 314.55)

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.62:1
vs Black 12.92: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)

#CFCFDB — rgb(207, 207, 219)

Deuteranopia (Green-blind)

#D1D2DA — rgb(209, 210, 218)

Tritanopia (Blue-blind)

#D7D6D4 — rgb(215, 214, 212)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(278, 35%, 83%);

text

color: hsl(278, 35%, 83%);

border

border: 2px solid hsl(278, 35%, 83%);

gradient light

background: linear-gradient(to right, hsl(278, 35%, 100%), hsl(278, 35%, 83%));

gradient dark

background: linear-gradient(to right, hsl(278, 35%, 83%), hsl(278, 35%, 63%))

hex

background-color: #D8C4E3;

tailwind

bg-[hsl(278,35%,83%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(278, 35%, 83%, 0.4);

css variable

--color-primary: hsl(278, 35%, 83%);

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(278, 35%, 83%)?

HEX: #D8C4E3 | RGB: rgb(216, 196, 227) | CMYK: 5%, 14%, 0%, 11% | HSV: 279°, 14%, 89%. Copy any format from the conversion table above.

What colors go well with #D8C4E3?

The complementary color is HSL(98, 35%, 83%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(278, 35%, 83%) in CSS?

As HSL: color: hsl(278, 35%, 83%); — As HEX: color: #D8C4E3; — As RGB: color: rgb(216, 196, 227); — Tailwind CSS: bg-[hsl(278,35%,83%)] — CSS variable: --color-primary: hsl(278, 35%, 83%);