HSL(257, 71%, 61%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,71%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 71%, 61%) | color: hsl(257, 71%, 61%) | |
| HEX | #7D55E2 | color: #7D55E2 | |
| RGB | rgb(125, 85, 226) | color: rgb(125, 85, 226) | |
| CMYK | cmyk(45%, 62%, 0%, 11%) | — | |
| HSV | hsv(257, 62%, 89%) | — | |
| HWB | hwb(257 34% 11%) | color: hwb(257 34% 11%) | |
| OKLCH | oklch(0.5677 0.2038 291.63) | color: oklch(0.5677 0.2038 291.63) | |
| Lab | lab(47.43 48.79 -66.29) | color: lab(47.43 48.79 -66.29) | |
| LCH | lch(47.43 82.31 306.35) | color: lch(47.43 82.31 306.35) |
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)
#6C6BC0 — rgb(108, 107, 192)
Deuteranopia (Green-blind)
#6E71B8 — rgb(110, 113, 184)
Tritanopia (Blue-blind)
#7BA59F — rgb(123, 165, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 71%, 61%);
text
color: hsl(257, 71%, 61%);
border
border: 2px solid hsl(257, 71%, 61%);
gradient light
background: linear-gradient(to right, hsl(257, 71%, 81%), hsl(257, 71%, 61%));
gradient dark
background: linear-gradient(to right, hsl(257, 71%, 61%), hsl(257, 71%, 41%))
hex
background-color: #7D55E2;
tailwind
bg-[hsl(257,71%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 71%, 61%, 0.4);
css variable
--color-primary: hsl(257, 71%, 61%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 71%, 61%)?
HEX: #7D55E2 | RGB: rgb(125, 85, 226) | CMYK: 45%, 62%, 0%, 11% | HSV: 257°, 62%, 89%. Copy any format from the conversion table above.
What colors go well with #7D55E2?
The complementary color is HSL(77, 71%, 61%). 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, 71%, 61%) in CSS?
As HSL: color: hsl(257, 71%, 61%); — As HEX: color: #7D55E2; — As RGB: color: rgb(125, 85, 226); — Tailwind CSS: bg-[hsl(257,71%,61%)] — CSS variable: --color-primary: hsl(257, 71%, 61%);