HSL(257, 60%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,60%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 60%, 60%) | color: hsl(257, 60%, 60%) | |
| HEX | #7E5CD6 | color: #7E5CD6 | |
| RGB | rgb(126, 92, 214) | color: rgb(126, 92, 214) | |
| CMYK | cmyk(41%, 57%, 0%, 16%) | — | |
| HSV | hsv(257, 57%, 84%) | — | |
| HWB | hwb(257 36% 16%) | color: hwb(257 36% 16%) | |
| OKLCH | oklch(0.5709 0.1796 292.65) | color: oklch(0.5709 0.1796 292.65) | |
| Lab | lab(48.19 41.81 -58.23) | color: lab(48.19 41.81 -58.23) | |
| LCH | lch(48.19 71.69 305.68) | color: lch(48.19 71.69 305.68) |
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)
#6F6FB8 — rgb(111, 111, 184)
Deuteranopia (Green-blind)
#7174B1 — rgb(113, 116, 177)
Tritanopia (Blue-blind)
#7CA19C — rgb(124, 161, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 60%, 60%);
text
color: hsl(257, 60%, 60%);
border
border: 2px solid hsl(257, 60%, 60%);
gradient light
background: linear-gradient(to right, hsl(257, 60%, 80%), hsl(257, 60%, 60%));
gradient dark
background: linear-gradient(to right, hsl(257, 60%, 60%), hsl(257, 60%, 40%))
hex
background-color: #7E5CD6;
tailwind
bg-[hsl(257,60%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 60%, 60%, 0.4);
css variable
--color-primary: hsl(257, 60%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 60%, 60%)?
HEX: #7E5CD6 | RGB: rgb(126, 92, 214) | CMYK: 41%, 57%, 0%, 16% | HSV: 257°, 57%, 84%. Copy any format from the conversion table above.
What colors go well with #7E5CD6?
The complementary color is HSL(77, 60%, 60%). For a triadic harmony, use hues 257°, 17°, and 137°. For analogous combinations, try hues 227° and 287°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(257, 60%, 60%) in CSS?
As HSL: color: hsl(257, 60%, 60%); — As HEX: color: #7E5CD6; — As RGB: color: rgb(126, 92, 214); — Tailwind CSS: bg-[hsl(257,60%,60%)] — CSS variable: --color-primary: hsl(257, 60%, 60%);