HSL(267, 83%, 59%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,83%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 83%, 59%) | color: hsl(267, 83%, 59%) | |
| HEX | #8E40ED | color: #8E40ED | |
| RGB | rgb(142, 64, 237) | color: rgb(142, 64, 237) | |
| CMYK | cmyk(40%, 73%, 0%, 7%) | — | |
| HSV | hsv(267, 73%, 93%) | — | |
| HWB | hwb(267 25% 7%) | color: hwb(267 25% 7%) | |
| OKLCH | oklch(0.5667 0.2421 298.87) | color: oklch(0.5667 0.2421 298.87) | |
| Lab | lab(46.35 65 -74.17) | color: lab(46.35 65 -74.17) | |
| LCH | lch(46.35 98.62 311.23) | color: lch(46.35 98.62 311.23) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#6C6CC3 — rgb(108, 108, 195)
Deuteranopia (Green-blind)
#7177B9 — rgb(113, 119, 185)
Tritanopia (Blue-blind)
#8AA29B — rgb(138, 162, 155)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 83%, 59%);
text
color: hsl(267, 83%, 59%);
border
border: 2px solid hsl(267, 83%, 59%);
gradient light
background: linear-gradient(to right, hsl(267, 83%, 79%), hsl(267, 83%, 59%));
gradient dark
background: linear-gradient(to right, hsl(267, 83%, 59%), hsl(267, 83%, 39%))
hex
background-color: #8E40ED;
tailwind
bg-[hsl(267,83%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 83%, 59%, 0.4);
css variable
--color-primary: hsl(267, 83%, 59%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 83%, 59%)?
HEX: #8E40ED | RGB: rgb(142, 64, 237) | CMYK: 40%, 73%, 0%, 7% | HSV: 267°, 73%, 93%. Copy any format from the conversion table above.
What colors go well with #8E40ED?
The complementary color is HSL(87, 83%, 59%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(267, 83%, 59%) in CSS?
As HSL: color: hsl(267, 83%, 59%); — As HEX: color: #8E40ED; — As RGB: color: rgb(142, 64, 237); — Tailwind CSS: bg-[hsl(267,83%,59%)] — CSS variable: --color-primary: hsl(267, 83%, 59%);