HSL(257, 42%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,42%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 42%, 64%) | color: hsl(257, 42%, 64%) | |
| HEX | #927DCA | color: #927DCA | |
| RGB | rgb(146, 125, 202) | color: rgb(146, 125, 202) | |
| CMYK | cmyk(28%, 38%, 0%, 21%) | — | |
| HSV | hsv(256, 38%, 79%) | — | |
| HWB | hwb(256 49% 21%) | color: hwb(256 49% 21%) | |
| OKLCH | oklch(0.6401 0.1147 295.53) | color: oklch(0.6401 0.1147 295.53) | |
| Lab | lab(57.12 24.69 -37.11) | color: lab(57.12 24.69 -37.11) | |
| LCH | lch(57.12 44.57 303.64) | color: lch(57.12 44.57 303.64) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8989B7 — rgb(137, 137, 183)
Deuteranopia (Green-blind)
#8A8CB3 — rgb(138, 140, 179)
Tritanopia (Blue-blind)
#91A9A5 — rgb(145, 169, 165)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 42%, 64%);
text
color: hsl(257, 42%, 64%);
border
border: 2px solid hsl(257, 42%, 64%);
gradient light
background: linear-gradient(to right, hsl(257, 42%, 84%), hsl(257, 42%, 64%));
gradient dark
background: linear-gradient(to right, hsl(257, 42%, 64%), hsl(257, 42%, 44%))
hex
background-color: #927DCA;
tailwind
bg-[hsl(257,42%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 42%, 64%, 0.4);
css variable
--color-primary: hsl(257, 42%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 42%, 64%)?
HEX: #927DCA | RGB: rgb(146, 125, 202) | CMYK: 28%, 38%, 0%, 21% | HSV: 256°, 38%, 79%. Copy any format from the conversion table above.
What colors go well with #927DCA?
The complementary color is HSL(77, 42%, 64%). 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, 42%, 64%) in CSS?
As HSL: color: hsl(257, 42%, 64%); — As HEX: color: #927DCA; — As RGB: color: rgb(146, 125, 202); — Tailwind CSS: bg-[hsl(257,42%,64%)] — CSS variable: --color-primary: hsl(257, 42%, 64%);