HSL(258, 50%, 62%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,50%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 50%, 62%) | color: hsl(258, 50%, 62%) | |
| HEX | #8B6ECF | color: #8B6ECF | |
| RGB | rgb(139, 110, 207) | color: rgb(139, 110, 207) | |
| CMYK | cmyk(33%, 47%, 0%, 19%) | — | |
| HSV | hsv(258, 47%, 81%) | — | |
| HWB | hwb(258 43% 19%) | color: hwb(258 43% 19%) | |
| OKLCH | oklch(0.609 0.1445 295.58) | color: oklch(0.609 0.1445 295.58) | |
| Lab | lab(53.11 32.75 -46.31) | color: lab(53.11 32.75 -46.31) | |
| LCH | lch(53.11 56.72 305.27) | color: lch(53.11 56.72 305.27) |
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)
#7E7EB8 — rgb(126, 126, 184)
Deuteranopia (Green-blind)
#8082B2 — rgb(128, 130, 178)
Tritanopia (Blue-blind)
#8AA5A1 — rgb(138, 165, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 50%, 62%);
text
color: hsl(258, 50%, 62%);
border
border: 2px solid hsl(258, 50%, 62%);
gradient light
background: linear-gradient(to right, hsl(258, 50%, 82%), hsl(258, 50%, 62%));
gradient dark
background: linear-gradient(to right, hsl(258, 50%, 62%), hsl(258, 50%, 42%))
hex
background-color: #8B6ECF;
tailwind
bg-[hsl(258,50%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 50%, 62%, 0.4);
css variable
--color-primary: hsl(258, 50%, 62%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 50%, 62%)?
HEX: #8B6ECF | RGB: rgb(139, 110, 207) | CMYK: 33%, 47%, 0%, 19% | HSV: 258°, 47%, 81%. Copy any format from the conversion table above.
What colors go well with #8B6ECF?
The complementary color is HSL(78, 50%, 62%). 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, 50%, 62%) in CSS?
As HSL: color: hsl(258, 50%, 62%); — As HEX: color: #8B6ECF; — As RGB: color: rgb(139, 110, 207); — Tailwind CSS: bg-[hsl(258,50%,62%)] — CSS variable: --color-primary: hsl(258, 50%, 62%);