HSL(278, 50%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,50%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 50%, 84%) | color: hsl(278, 50%, 84%) | |
| HEX | #DCC2EB | color: #DCC2EB | |
| RGB | rgb(220, 194, 235) | color: rgb(220, 194, 235) | |
| CMYK | cmyk(6%, 17%, 0%, 8%) | — | |
| HSV | hsv(278, 17%, 92%) | — | |
| HWB | hwb(278 76% 8%) | color: hwb(278 76% 8%) | |
| OKLCH | oklch(0.8488 0.0626 313.19) | color: oklch(0.8488 0.0626 313.19) | |
| Lab | lab(81.73 16.55 -16.92) | color: lab(81.73 16.55 -16.92) | |
| LCH | lch(81.73 23.67 314.37) | color: lch(81.73 23.67 314.37) |
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)
#D1D1E1 — rgb(209, 209, 225)
Deuteranopia (Green-blind)
#D2D4DF — rgb(210, 212, 223)
Tritanopia (Blue-blind)
#DBD9D8 — rgb(219, 217, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 50%, 84%);
text
color: hsl(278, 50%, 84%);
border
border: 2px solid hsl(278, 50%, 84%);
gradient light
background: linear-gradient(to right, hsl(278, 50%, 100%), hsl(278, 50%, 84%));
gradient dark
background: linear-gradient(to right, hsl(278, 50%, 84%), hsl(278, 50%, 64%))
hex
background-color: #DCC2EB;
tailwind
bg-[hsl(278,50%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 50%, 84%, 0.4);
css variable
--color-primary: hsl(278, 50%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 50%, 84%)?
HEX: #DCC2EB | RGB: rgb(220, 194, 235) | CMYK: 6%, 17%, 0%, 8% | HSV: 278°, 17%, 92%. Copy any format from the conversion table above.
What colors go well with #DCC2EB?
The complementary color is HSL(98, 50%, 84%). 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, 50%, 84%) in CSS?
As HSL: color: hsl(278, 50%, 84%); — As HEX: color: #DCC2EB; — As RGB: color: rgb(220, 194, 235); — Tailwind CSS: bg-[hsl(278,50%,84%)] — CSS variable: --color-primary: hsl(278, 50%, 84%);