HSL(258, 93%, 67%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,93%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 93%, 67%) | color: hsl(258, 93%, 67%) | |
| HEX | #8C5DF9 | color: #8C5DF9 | |
| RGB | rgb(140, 93, 249) | color: rgb(140, 93, 249) | |
| CMYK | cmyk(44%, 63%, 0%, 2%) | — | |
| HSV | hsv(258, 63%, 98%) | — | |
| HWB | hwb(258 36% 2%) | color: hwb(258 36% 2%) | |
| OKLCH | oklch(0.6102 0.2212 292.47) | color: oklch(0.6102 0.2212 292.47) | |
| Lab | lab(52.11 53.62 -71.53) | color: lab(52.11 53.62 -71.53) | |
| LCH | lch(52.11 89.4 306.86) | color: lch(52.11 89.4 306.86) |
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)
#7877D3 — rgb(120, 119, 211)
Deuteranopia (Green-blind)
#7A7ECA — rgb(122, 126, 202)
Tritanopia (Blue-blind)
#8AB5AF — rgb(138, 181, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 93%, 67%);
text
color: hsl(258, 93%, 67%);
border
border: 2px solid hsl(258, 93%, 67%);
gradient light
background: linear-gradient(to right, hsl(258, 93%, 87%), hsl(258, 93%, 67%));
gradient dark
background: linear-gradient(to right, hsl(258, 93%, 67%), hsl(258, 93%, 47%))
hex
background-color: #8C5DF9;
tailwind
bg-[hsl(258,93%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 93%, 67%, 0.4);
css variable
--color-primary: hsl(258, 93%, 67%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 93%, 67%)?
HEX: #8C5DF9 | RGB: rgb(140, 93, 249) | CMYK: 44%, 63%, 0%, 2% | HSV: 258°, 63%, 98%. Copy any format from the conversion table above.
What colors go well with #8C5DF9?
The complementary color is HSL(78, 93%, 67%). 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, 93%, 67%) in CSS?
As HSL: color: hsl(258, 93%, 67%); — As HEX: color: #8C5DF9; — As RGB: color: rgb(140, 93, 249); — Tailwind CSS: bg-[hsl(258,93%,67%)] — CSS variable: --color-primary: hsl(258, 93%, 67%);