HSL(255, 50%, 85%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,50%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 50%, 85%) | color: hsl(255, 50%, 85%) | |
| HEX | #CFC6EC | color: #CFC6EC | |
| RGB | rgb(207, 198, 236) | color: rgb(207, 198, 236) | |
| CMYK | cmyk(12%, 16%, 0%, 7%) | — | |
| HSV | hsv(254, 16%, 93%) | — | |
| HWB | hwb(254 78% 7%) | color: hwb(254 78% 7%) | |
| OKLCH | oklch(0.846 0.0532 296.1) | color: oklch(0.846 0.0532 296.1) | |
| Lab | lab(81.68 10.4 -17.63) | color: lab(81.68 10.4 -17.63) | |
| LCH | lch(81.68 20.47 300.54) | color: lch(81.68 20.47 300.54) |
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)
#CBCBE3 — rgb(203, 203, 227)
Deuteranopia (Green-blind)
#CCCCE1 — rgb(204, 204, 225)
Tritanopia (Blue-blind)
#CFDCDA — rgb(207, 220, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 50%, 85%);
text
color: hsl(255, 50%, 85%);
border
border: 2px solid hsl(255, 50%, 85%);
gradient light
background: linear-gradient(to right, hsl(255, 50%, 100%), hsl(255, 50%, 85%));
gradient dark
background: linear-gradient(to right, hsl(255, 50%, 85%), hsl(255, 50%, 65%))
hex
background-color: #CFC6EC;
tailwind
bg-[hsl(255,50%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 50%, 85%, 0.4);
css variable
--color-primary: hsl(255, 50%, 85%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 50%, 85%)?
HEX: #CFC6EC | RGB: rgb(207, 198, 236) | CMYK: 12%, 16%, 0%, 7% | HSV: 254°, 16%, 93%. Copy any format from the conversion table above.
What colors go well with #CFC6EC?
The complementary color is HSL(75, 50%, 85%). 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%, 85%) in CSS?
As HSL: color: hsl(255, 50%, 85%); — As HEX: color: #CFC6EC; — As RGB: color: rgb(207, 198, 236); — Tailwind CSS: bg-[hsl(255,50%,85%)] — CSS variable: --color-primary: hsl(255, 50%, 85%);