HSL(264, 72%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(264,72%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(264, 72%, 60%) | color: hsl(264, 72%, 60%) | |
| HEX | #8A50E2 | color: #8A50E2 | |
| RGB | rgb(138, 80, 226) | color: rgb(138, 80, 226) | |
| CMYK | cmyk(39%, 65%, 0%, 11%) | — | |
| HSV | hsv(264, 65%, 89%) | — | |
| HWB | hwb(264 31% 11%) | color: hwb(264 31% 11%) | |
| OKLCH | oklch(0.5734 0.2111 297.58) | color: oklch(0.5734 0.2111 297.58) | |
| Lab | lab(47.79 54.02 -65.63) | color: lab(47.79 54.02 -65.63) | |
| LCH | lch(47.79 85 309.46) | color: lch(47.79 85 309.46) |
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)
#7170BF — rgb(113, 112, 191)
Deuteranopia (Green-blind)
#7479B6 — rgb(116, 121, 182)
Tritanopia (Blue-blind)
#87A39D — rgb(135, 163, 157)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(264, 72%, 60%);
text
color: hsl(264, 72%, 60%);
border
border: 2px solid hsl(264, 72%, 60%);
gradient light
background: linear-gradient(to right, hsl(264, 72%, 80%), hsl(264, 72%, 60%));
gradient dark
background: linear-gradient(to right, hsl(264, 72%, 60%), hsl(264, 72%, 40%))
hex
background-color: #8A50E2;
tailwind
bg-[hsl(264,72%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(264, 72%, 60%, 0.4);
css variable
--color-primary: hsl(264, 72%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(264, 72%, 60%)?
HEX: #8A50E2 | RGB: rgb(138, 80, 226) | CMYK: 39%, 65%, 0%, 11% | HSV: 264°, 65%, 89%. Copy any format from the conversion table above.
What colors go well with #8A50E2?
The complementary color is HSL(84, 72%, 60%). For a triadic harmony, use hues 264°, 24°, and 144°. For analogous combinations, try hues 234° and 294°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(264, 72%, 60%) in CSS?
As HSL: color: hsl(264, 72%, 60%); — As HEX: color: #8A50E2; — As RGB: color: rgb(138, 80, 226); — Tailwind CSS: bg-[hsl(264,72%,60%)] — CSS variable: --color-primary: hsl(264, 72%, 60%);