HSL(255, 50%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,50%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 50%, 84%) | color: hsl(255, 50%, 84%) | |
| HEX | #CCC2EB | color: #CCC2EB | |
| RGB | rgb(204, 194, 235) | color: rgb(204, 194, 235) | |
| CMYK | cmyk(13%, 17%, 0%, 8%) | — | |
| HSV | hsv(255, 17%, 92%) | — | |
| HWB | hwb(255 76% 8%) | color: hwb(255 76% 8%) | |
| OKLCH | oklch(0.8355 0.0576 296.31) | color: oklch(0.8355 0.0576 296.31) | |
| Lab | lab(80.41 11.39 -19.03) | color: lab(80.41 11.39 -19.03) | |
| LCH | lch(80.41 22.18 300.9) | color: lch(80.41 22.18 300.9) |
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)
#C8C8E1 — rgb(200, 200, 225)
Deuteranopia (Green-blind)
#C8C9DF — rgb(200, 201, 223)
Tritanopia (Blue-blind)
#CCD9D8 — rgb(204, 217, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 50%, 84%);
text
color: hsl(255, 50%, 84%);
border
border: 2px solid hsl(255, 50%, 84%);
gradient light
background: linear-gradient(to right, hsl(255, 50%, 100%), hsl(255, 50%, 84%));
gradient dark
background: linear-gradient(to right, hsl(255, 50%, 84%), hsl(255, 50%, 64%))
hex
background-color: #CCC2EB;
tailwind
bg-[hsl(255,50%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 50%, 84%, 0.4);
css variable
--color-primary: hsl(255, 50%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 50%, 84%)?
HEX: #CCC2EB | RGB: rgb(204, 194, 235) | CMYK: 13%, 17%, 0%, 8% | HSV: 255°, 17%, 92%. Copy any format from the conversion table above.
What colors go well with #CCC2EB?
The complementary color is HSL(75, 50%, 84%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 50%, 84%) in CSS?
As HSL: color: hsl(255, 50%, 84%); — As HEX: color: #CCC2EB; — As RGB: color: rgb(204, 194, 235); — Tailwind CSS: bg-[hsl(255,50%,84%)] — CSS variable: --color-primary: hsl(255, 50%, 84%);