HSL(266, 79%, 55%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,79%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 79%, 55%) | color: hsl(266, 79%, 55%) | |
| HEX | #8032E7 | color: #8032E7 | |
| RGB | rgb(128, 50, 231) | color: rgb(128, 50, 231) | |
| CMYK | cmyk(45%, 78%, 0%, 9%) | — | |
| HSV | hsv(266, 78%, 91%) | — | |
| HWB | hwb(266 20% 9%) | color: hwb(266 20% 9%) | |
| OKLCH | oklch(0.5325 0.248 296.24) | color: oklch(0.5325 0.248 296.24) | |
| Lab | lab(42.21 67.12 -77.61) | color: lab(42.21 67.12 -77.61) | |
| LCH | lch(42.21 102.61 310.85) | color: lch(42.21 102.61 310.85) |
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)
#5E5EBB — rgb(94, 94, 187)
Deuteranopia (Green-blind)
#6369B1 — rgb(99, 105, 177)
Tritanopia (Blue-blind)
#7C9991 — rgb(124, 153, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 79%, 55%);
text
color: hsl(266, 79%, 55%);
border
border: 2px solid hsl(266, 79%, 55%);
gradient light
background: linear-gradient(to right, hsl(266, 79%, 75%), hsl(266, 79%, 55%));
gradient dark
background: linear-gradient(to right, hsl(266, 79%, 55%), hsl(266, 79%, 35%))
hex
background-color: #8032E7;
tailwind
bg-[hsl(266,79%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 79%, 55%, 0.4);
css variable
--color-primary: hsl(266, 79%, 55%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 79%, 55%)?
HEX: #8032E7 | RGB: rgb(128, 50, 231) | CMYK: 45%, 78%, 0%, 9% | HSV: 266°, 78%, 91%. Copy any format from the conversion table above.
What colors go well with #8032E7?
The complementary color is HSL(86, 79%, 55%). For a triadic harmony, use hues 266°, 26°, and 146°. For analogous combinations, try hues 236° and 296°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(266, 79%, 55%) in CSS?
As HSL: color: hsl(266, 79%, 55%); — As HEX: color: #8032E7; — As RGB: color: rgb(128, 50, 231); — Tailwind CSS: bg-[hsl(266,79%,55%)] — CSS variable: --color-primary: hsl(266, 79%, 55%);