HSL(271, 32%, 85%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(271,32%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 32%, 85%) color: hsl(271, 32%, 85%)
HEX #D9CDE5 color: #D9CDE5
RGB rgb(217, 205, 229) color: rgb(217, 205, 229)
CMYK cmyk(5%, 10%, 0%, 10%)
HSV hsv(270, 10%, 90%)
HWB hwb(270 81% 10%) color: hwb(270 81% 10%)
OKLCH oklch(0.8653 0.0351 308.01) color: oklch(0.8653 0.0351 308.01)
Lab lab(84 8.53 -10.34) color: lab(84 8.53 -10.34)
LCH lch(84 13.4 309.52) color: lch(84 13.4 309.52)

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.52:1
vs Black 13.81: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)

#D4D4DF — rgb(212, 212, 223)

Deuteranopia (Green-blind)

#D5D5DE — rgb(213, 213, 222)

Tritanopia (Blue-blind)

#D8DBDA — rgb(216, 219, 218)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 32%, 85%);

text

color: hsl(271, 32%, 85%);

border

border: 2px solid hsl(271, 32%, 85%);

gradient light

background: linear-gradient(to right, hsl(271, 32%, 100%), hsl(271, 32%, 85%));

gradient dark

background: linear-gradient(to right, hsl(271, 32%, 85%), hsl(271, 32%, 65%))

hex

background-color: #D9CDE5;

tailwind

bg-[hsl(271,32%,85%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(271, 32%, 85%, 0.4);

css variable

--color-primary: hsl(271, 32%, 85%);

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(271, 32%, 85%)?

HEX: #D9CDE5 | RGB: rgb(217, 205, 229) | CMYK: 5%, 10%, 0%, 10% | HSV: 270°, 10%, 90%. Copy any format from the conversion table above.

What colors go well with #D9CDE5?

The complementary color is HSL(91, 32%, 85%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 32%, 85%) in CSS?

As HSL: color: hsl(271, 32%, 85%); — As HEX: color: #D9CDE5; — As RGB: color: rgb(217, 205, 229); — Tailwind CSS: bg-[hsl(271,32%,85%)] — CSS variable: --color-primary: hsl(271, 32%, 85%);