HSL(279, 16%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(279,16%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 16%, 81%) | color: hsl(279, 16%, 81%) | |
| HEX | #D1C7D6 | color: #D1C7D6 | |
| RGB | rgb(209, 199, 214) | color: rgb(209, 199, 214) | |
| CMYK | cmyk(2%, 7%, 0%, 16%) | — | |
| HSV | hsv(280, 7%, 84%) | — | |
| HWB | hwb(280 78% 16%) | color: hwb(280 78% 16%) | |
| OKLCH | oklch(0.8423 0.0232 314.69) | color: oklch(0.8423 0.0232 314.69) | |
| Lab | lab(81.43 6.2 -6.21) | color: lab(81.43 6.2 -6.21) | |
| LCH | lch(81.43 8.78 314.95) | color: lch(81.43 8.78 314.95) |
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)
#CDCDD2 — rgb(205, 205, 210)
Deuteranopia (Green-blind)
#CDCED2 — rgb(205, 206, 210)
Tritanopia (Blue-blind)
#D1D0CF — rgb(209, 208, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 16%, 81%);
text
color: hsl(279, 16%, 81%);
border
border: 2px solid hsl(279, 16%, 81%);
gradient light
background: linear-gradient(to right, hsl(279, 16%, 100%), hsl(279, 16%, 81%));
gradient dark
background: linear-gradient(to right, hsl(279, 16%, 81%), hsl(279, 16%, 61%))
hex
background-color: #D1C7D6;
tailwind
bg-[hsl(279,16%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 16%, 81%, 0.4);
css variable
--color-primary: hsl(279, 16%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 16%, 81%)?
HEX: #D1C7D6 | RGB: rgb(209, 199, 214) | CMYK: 2%, 7%, 0%, 16% | HSV: 280°, 7%, 84%. Copy any format from the conversion table above.
What colors go well with #D1C7D6?
The complementary color is HSL(99, 16%, 81%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 16%, 81%) in CSS?
As HSL: color: hsl(279, 16%, 81%); — As HEX: color: #D1C7D6; — As RGB: color: rgb(209, 199, 214); — Tailwind CSS: bg-[hsl(279,16%,81%)] — CSS variable: --color-primary: hsl(279, 16%, 81%);