HSL(272, 35%, 82%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,35%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 35%, 82%) | color: hsl(272, 35%, 82%) | |
| HEX | #D2C1E1 | color: #D2C1E1 | |
| RGB | rgb(210, 193, 225) | color: rgb(210, 193, 225) | |
| CMYK | cmyk(7%, 14%, 0%, 12%) | — | |
| HSV | hsv(272, 14%, 88%) | — | |
| HWB | hwb(272 76% 12%) | color: hwb(272 76% 12%) | |
| OKLCH | oklch(0.835 0.0476 309.13) | color: oklch(0.835 0.0476 309.13) | |
| Lab | lab(80.34 11.85 -13.74) | color: lab(80.34 11.85 -13.74) | |
| LCH | lch(80.34 18.14 310.78) | color: lch(80.34 18.14 310.78) |
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)
#CBCAD9 — rgb(203, 202, 217)
Deuteranopia (Green-blind)
#CCCDD7 — rgb(204, 205, 215)
Tritanopia (Blue-blind)
#D1D3D2 — rgb(209, 211, 210)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 35%, 82%);
text
color: hsl(272, 35%, 82%);
border
border: 2px solid hsl(272, 35%, 82%);
gradient light
background: linear-gradient(to right, hsl(272, 35%, 100%), hsl(272, 35%, 82%));
gradient dark
background: linear-gradient(to right, hsl(272, 35%, 82%), hsl(272, 35%, 62%))
hex
background-color: #D2C1E1;
tailwind
bg-[hsl(272,35%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 35%, 82%, 0.4);
css variable
--color-primary: hsl(272, 35%, 82%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 35%, 82%)?
HEX: #D2C1E1 | RGB: rgb(210, 193, 225) | CMYK: 7%, 14%, 0%, 12% | HSV: 272°, 14%, 88%. Copy any format from the conversion table above.
What colors go well with #D2C1E1?
The complementary color is HSL(92, 35%, 82%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 35%, 82%) in CSS?
As HSL: color: hsl(272, 35%, 82%); — As HEX: color: #D2C1E1; — As RGB: color: rgb(210, 193, 225); — Tailwind CSS: bg-[hsl(272,35%,82%)] — CSS variable: --color-primary: hsl(272, 35%, 82%);