HSL(266, 97%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,97%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 97%, 60%) | color: hsl(266, 97%, 60%) | |
| HEX | #8C36FC | color: #8C36FC | |
| RGB | rgb(140, 54, 252) | color: rgb(140, 54, 252) | |
| CMYK | cmyk(44%, 79%, 0%, 1%) | — | |
| HSV | hsv(266, 79%, 99%) | — | |
| HWB | hwb(266 21% 1%) | color: hwb(266 21% 1%) | |
| OKLCH | oklch(0.5672 0.2661 296.3) | color: oklch(0.5672 0.2661 296.3) | |
| Lab | lab(45.96 72.21 -83.24) | color: lab(45.96 72.21 -83.24) | |
| LCH | lch(45.96 110.2 310.94) | color: lch(45.96 110.2 310.94) |
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)
#6766CC — rgb(103, 102, 204)
Deuteranopia (Green-blind)
#6C72C1 — rgb(108, 114, 193)
Tritanopia (Blue-blind)
#88A69E — rgb(136, 166, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 97%, 60%);
text
color: hsl(266, 97%, 60%);
border
border: 2px solid hsl(266, 97%, 60%);
gradient light
background: linear-gradient(to right, hsl(266, 97%, 80%), hsl(266, 97%, 60%));
gradient dark
background: linear-gradient(to right, hsl(266, 97%, 60%), hsl(266, 97%, 40%))
hex
background-color: #8C36FC;
tailwind
bg-[hsl(266,97%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 97%, 60%, 0.4);
css variable
--color-primary: hsl(266, 97%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 97%, 60%)?
HEX: #8C36FC | RGB: rgb(140, 54, 252) | CMYK: 44%, 79%, 0%, 1% | HSV: 266°, 79%, 99%. Copy any format from the conversion table above.
What colors go well with #8C36FC?
The complementary color is HSL(86, 97%, 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, 97%, 60%) in CSS?
As HSL: color: hsl(266, 97%, 60%); — As HEX: color: #8C36FC; — As RGB: color: rgb(140, 54, 252); — Tailwind CSS: bg-[hsl(266,97%,60%)] — CSS variable: --color-primary: hsl(266, 97%, 60%);