HSL(256, 60%, 60%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(256,60%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(256, 60%, 60%) | color: hsl(256, 60%, 60%) | |
| HEX | #7C5CD6 | color: #7C5CD6 | |
| RGB | rgb(124, 92, 214) | color: rgb(124, 92, 214) | |
| CMYK | cmyk(42%, 57%, 0%, 16%) | — | |
| HSV | hsv(256, 57%, 84%) | — | |
| HWB | hwb(256 36% 16%) | color: hwb(256 36% 16%) | |
| OKLCH | oklch(0.569 0.1795 291.77) | color: oklch(0.569 0.1795 291.77) | |
| Lab | lab(48 41.37 -58.55) | color: lab(48 41.37 -58.55) | |
| LCH | lch(48 71.69 305.24) | color: lch(48 71.69 305.24) |
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)
#6E6EB8 — rgb(110, 110, 184)
Deuteranopia (Green-blind)
#7072B1 — rgb(112, 114, 177)
Tritanopia (Blue-blind)
#7AA19C — rgb(122, 161, 156)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(256, 60%, 60%);
text
color: hsl(256, 60%, 60%);
border
border: 2px solid hsl(256, 60%, 60%);
gradient light
background: linear-gradient(to right, hsl(256, 60%, 80%), hsl(256, 60%, 60%));
gradient dark
background: linear-gradient(to right, hsl(256, 60%, 60%), hsl(256, 60%, 40%))
hex
background-color: #7C5CD6;
tailwind
bg-[hsl(256,60%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(256, 60%, 60%, 0.4);
css variable
--color-primary: hsl(256, 60%, 60%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(256, 60%, 60%)?
HEX: #7C5CD6 | RGB: rgb(124, 92, 214) | CMYK: 42%, 57%, 0%, 16% | HSV: 256°, 57%, 84%. Copy any format from the conversion table above.
What colors go well with #7C5CD6?
The complementary color is HSL(76, 60%, 60%). For a triadic harmony, use hues 256°, 16°, and 136°. For analogous combinations, try hues 226° and 286°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(256, 60%, 60%) in CSS?
As HSL: color: hsl(256, 60%, 60%); — As HEX: color: #7C5CD6; — As RGB: color: rgb(124, 92, 214); — Tailwind CSS: bg-[hsl(256,60%,60%)] — CSS variable: --color-primary: hsl(256, 60%, 60%);