HSL(267, 51%, 57%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(267,51%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(267, 51%, 57%) | color: hsl(267, 51%, 57%) | |
| HEX | #8C59C9 | color: #8C59C9 | |
| RGB | rgb(140, 89, 201) | color: rgb(140, 89, 201) | |
| CMYK | cmyk(30%, 56%, 0%, 21%) | — | |
| HSV | hsv(267, 56%, 79%) | — | |
| HWB | hwb(267 35% 21%) | color: hwb(267 35% 21%) | |
| OKLCH | oklch(0.5716 0.1696 302.36) | color: oklch(0.5716 0.1696 302.36) | |
| Lab | lab(48.18 43.41 -50.72) | color: lab(48.18 43.41 -50.72) | |
| LCH | lch(48.18 66.76 310.56) | color: lch(48.18 66.76 310.56) |
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)
#7675AE — rgb(118, 117, 174)
Deuteranopia (Green-blind)
#797DA7 — rgb(121, 125, 167)
Tritanopia (Blue-blind)
#899994 — rgb(137, 153, 148)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(267, 51%, 57%);
text
color: hsl(267, 51%, 57%);
border
border: 2px solid hsl(267, 51%, 57%);
gradient light
background: linear-gradient(to right, hsl(267, 51%, 77%), hsl(267, 51%, 57%));
gradient dark
background: linear-gradient(to right, hsl(267, 51%, 57%), hsl(267, 51%, 37%))
hex
background-color: #8C59C9;
tailwind
bg-[hsl(267,51%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(267, 51%, 57%, 0.4);
css variable
--color-primary: hsl(267, 51%, 57%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(267, 51%, 57%)?
HEX: #8C59C9 | RGB: rgb(140, 89, 201) | CMYK: 30%, 56%, 0%, 21% | HSV: 267°, 56%, 79%. Copy any format from the conversion table above.
What colors go well with #8C59C9?
The complementary color is HSL(87, 51%, 57%). 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, 51%, 57%) in CSS?
As HSL: color: hsl(267, 51%, 57%); — As HEX: color: #8C59C9; — As RGB: color: rgb(140, 89, 201); — Tailwind CSS: bg-[hsl(267,51%,57%)] — CSS variable: --color-primary: hsl(267, 51%, 57%);