HSL(266, 63%, 56%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(266,63%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(266, 63%, 56%) | color: hsl(266, 63%, 56%) | |
| HEX | #8548D5 | color: #8548D5 | |
| RGB | rgb(133, 72, 213) | color: rgb(133, 72, 213) | |
| CMYK | cmyk(38%, 66%, 0%, 16%) | — | |
| HSV | hsv(266, 66%, 84%) | — | |
| HWB | hwb(266 29% 16%) | color: hwb(266 29% 16%) | |
| OKLCH | oklch(0.548 0.206 299.34) | color: oklch(0.548 0.206 299.34) | |
| Lab | lab(44.84 53.79 -63.04) | color: lab(44.84 53.79 -63.04) | |
| LCH | lch(44.84 82.87 310.47) | color: lch(44.84 82.87 310.47) |
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)
#6B6AB3 — rgb(107, 106, 179)
Deuteranopia (Green-blind)
#6E73AB — rgb(110, 115, 171)
Tritanopia (Blue-blind)
#829892 — rgb(130, 152, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(266, 63%, 56%);
text
color: hsl(266, 63%, 56%);
border
border: 2px solid hsl(266, 63%, 56%);
gradient light
background: linear-gradient(to right, hsl(266, 63%, 76%), hsl(266, 63%, 56%));
gradient dark
background: linear-gradient(to right, hsl(266, 63%, 56%), hsl(266, 63%, 36%))
hex
background-color: #8548D5;
tailwind
bg-[hsl(266,63%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(266, 63%, 56%, 0.4);
css variable
--color-primary: hsl(266, 63%, 56%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(266, 63%, 56%)?
HEX: #8548D5 | RGB: rgb(133, 72, 213) | CMYK: 38%, 66%, 0%, 16% | HSV: 266°, 66%, 84%. Copy any format from the conversion table above.
What colors go well with #8548D5?
The complementary color is HSL(86, 63%, 56%). 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, 63%, 56%) in CSS?
As HSL: color: hsl(266, 63%, 56%); — As HEX: color: #8548D5; — As RGB: color: rgb(133, 72, 213); — Tailwind CSS: bg-[hsl(266,63%,56%)] — CSS variable: --color-primary: hsl(266, 63%, 56%);