HSL(256, 41%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,41%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 41%, 66%) | color: hsl(256, 41%, 66%) | |
| HEX | #9885CC | color: #9885CC | |
| RGB | rgb(152, 133, 204) | color: rgb(152, 133, 204) | |
| CMYK | cmyk(25%, 35%, 0%, 20%) | — | |
| HSV | hsv(256, 35%, 80%) | — | |
| HWB | hwb(256 52% 20%) | color: hwb(256 52% 20%) | |
| OKLCH | oklch(0.6615 0.1052 295.69) | color: oklch(0.6615 0.1052 295.69) | |
| Lab | lab(59.72 22.31 -34.13) | color: lab(59.72 22.31 -34.13) | |
| LCH | lch(59.72 40.77 303.17) | color: lch(59.72 40.77 303.17) |
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)
#9090BB — rgb(144, 144, 187)
Deuteranopia (Green-blind)
#9192B7 — rgb(145, 146, 183)
Tritanopia (Blue-blind)
#97ADAA — rgb(151, 173, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 41%, 66%);
text
color: hsl(256, 41%, 66%);
border
border: 2px solid hsl(256, 41%, 66%);
gradient light
background: linear-gradient(to right, hsl(256, 41%, 86%), hsl(256, 41%, 66%));
gradient dark
background: linear-gradient(to right, hsl(256, 41%, 66%), hsl(256, 41%, 46%))
hex
background-color: #9885CC;
tailwind
bg-[hsl(256,41%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 41%, 66%, 0.4);
css variable
--color-primary: hsl(256, 41%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 41%, 66%)?
HEX: #9885CC | RGB: rgb(152, 133, 204) | CMYK: 25%, 35%, 0%, 20% | HSV: 256°, 35%, 80%. Copy any format from the conversion table above.
What colors go well with #9885CC?
The complementary color is HSL(76, 41%, 66%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 41%, 66%) in CSS?
As HSL: color: hsl(256, 41%, 66%); — As HEX: color: #9885CC; — As RGB: color: rgb(152, 133, 204); — Tailwind CSS: bg-[hsl(256,41%,66%)] — CSS variable: --color-primary: hsl(256, 41%, 66%);