HSL(266, 92%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,92%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 92%, 60%) | color: hsl(266, 92%, 60%) | |
| HEX | #8C3BF7 | color: #8C3BF7 | |
| RGB | rgb(140, 59, 247) | color: rgb(140, 59, 247) | |
| CMYK | cmyk(43%, 76%, 0%, 3%) | — | |
| HSV | hsv(266, 76%, 97%) | — | |
| HWB | hwb(266 23% 3%) | color: hwb(266 23% 3%) | |
| OKLCH | oklch(0.5676 0.2568 296.78) | color: oklch(0.5676 0.2568 296.78) | |
| Lab | lab(46.2 69.13 -80.05) | color: lab(46.2 69.13 -80.05) | |
| LCH | lch(46.2 105.77 310.81) | color: lch(46.2 105.77 310.81) |
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)
#6968CA — rgb(105, 104, 202)
Deuteranopia (Green-blind)
#6E74BF — rgb(110, 116, 191)
Tritanopia (Blue-blind)
#88A69E — rgb(136, 166, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 92%, 60%);
text
color: hsl(266, 92%, 60%);
border
border: 2px solid hsl(266, 92%, 60%);
gradient light
background: linear-gradient(to right, hsl(266, 92%, 80%), hsl(266, 92%, 60%));
gradient dark
background: linear-gradient(to right, hsl(266, 92%, 60%), hsl(266, 92%, 40%))
hex
background-color: #8C3BF7;
tailwind
bg-[hsl(266,92%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 92%, 60%, 0.4);
css variable
--color-primary: hsl(266, 92%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 92%, 60%)?
HEX: #8C3BF7 | RGB: rgb(140, 59, 247) | CMYK: 43%, 76%, 0%, 3% | HSV: 266°, 76%, 97%. Copy any format from the conversion table above.
What colors go well with #8C3BF7?
The complementary color is HSL(86, 92%, 60%). 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, 92%, 60%) in CSS?
As HSL: color: hsl(266, 92%, 60%); — As HEX: color: #8C3BF7; — As RGB: color: rgb(140, 59, 247); — Tailwind CSS: bg-[hsl(266,92%,60%)] — CSS variable: --color-primary: hsl(266, 92%, 60%);