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
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)
#CFCFDB — rgb(207, 207, 219)
Deuteranopia (Green-blind)
#D1D2DA — rgb(209, 210, 218)
Tritanopia (Blue-blind)
#D7D6D4 — rgb(215, 214, 212)
Tints & Shades
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
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%);