HSL(258, 85%, 66%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,85%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 85%, 66%) | color: hsl(258, 85%, 66%) | |
| HEX | #8B5FF2 | color: #8B5FF2 | |
| RGB | rgb(139, 95, 242) | color: rgb(139, 95, 242) | |
| CMYK | cmyk(43%, 61%, 0%, 5%) | — | |
| HSV | hsv(258, 61%, 95%) | — | |
| HWB | hwb(258 37% 5%) | color: hwb(258 37% 5%) | |
| OKLCH | oklch(0.6071 0.2103 292.85) | color: oklch(0.6071 0.2103 292.85) | |
| Lab | lab(51.93 50.48 -67.93) | color: lab(51.93 50.48 -67.93) | |
| LCH | lch(51.93 84.63 306.62) | color: lch(51.93 84.63 306.62) |
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)
#7878CE — rgb(120, 120, 206)
Deuteranopia (Green-blind)
#7B7EC6 — rgb(123, 126, 198)
Tritanopia (Blue-blind)
#89B2AC — rgb(137, 178, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 85%, 66%);
text
color: hsl(258, 85%, 66%);
border
border: 2px solid hsl(258, 85%, 66%);
gradient light
background: linear-gradient(to right, hsl(258, 85%, 86%), hsl(258, 85%, 66%));
gradient dark
background: linear-gradient(to right, hsl(258, 85%, 66%), hsl(258, 85%, 46%))
hex
background-color: #8B5FF2;
tailwind
bg-[hsl(258,85%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 85%, 66%, 0.4);
css variable
--color-primary: hsl(258, 85%, 66%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 85%, 66%)?
HEX: #8B5FF2 | RGB: rgb(139, 95, 242) | CMYK: 43%, 61%, 0%, 5% | HSV: 258°, 61%, 95%. Copy any format from the conversion table above.
What colors go well with #8B5FF2?
The complementary color is HSL(78, 85%, 66%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 85%, 66%) in CSS?
As HSL: color: hsl(258, 85%, 66%); — As HEX: color: #8B5FF2; — As RGB: color: rgb(139, 95, 242); — Tailwind CSS: bg-[hsl(258,85%,66%)] — CSS variable: --color-primary: hsl(258, 85%, 66%);