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
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
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
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
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%);