HSL(257, 79%, 64%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,79%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 79%, 64%) | color: hsl(257, 79%, 64%) | |
| HEX | #845BEC | color: #845BEC | |
| RGB | rgb(132, 91, 236) | color: rgb(132, 91, 236) | |
| CMYK | cmyk(44%, 61%, 0%, 7%) | — | |
| HSV | hsv(257, 61%, 93%) | — | |
| HWB | hwb(257 36% 7%) | color: hwb(257 36% 7%) | |
| OKLCH | oklch(0.5904 0.2082 291.78) | color: oklch(0.5904 0.2082 291.78) | |
| Lab | lab(50.03 49.63 -67.68) | color: lab(50.03 49.63 -67.68) | |
| LCH | lch(50.03 83.93 306.25) | color: lch(50.03 83.93 306.25) |
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)
#7272C9 — rgb(114, 114, 201)
Deuteranopia (Green-blind)
#7578C1 — rgb(117, 120, 193)
Tritanopia (Blue-blind)
#82ADA7 — rgb(130, 173, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 79%, 64%);
text
color: hsl(257, 79%, 64%);
border
border: 2px solid hsl(257, 79%, 64%);
gradient light
background: linear-gradient(to right, hsl(257, 79%, 84%), hsl(257, 79%, 64%));
gradient dark
background: linear-gradient(to right, hsl(257, 79%, 64%), hsl(257, 79%, 44%))
hex
background-color: #845BEC;
tailwind
bg-[hsl(257,79%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 79%, 64%, 0.4);
css variable
--color-primary: hsl(257, 79%, 64%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 79%, 64%)?
HEX: #845BEC | RGB: rgb(132, 91, 236) | CMYK: 44%, 61%, 0%, 7% | HSV: 257°, 61%, 93%. Copy any format from the conversion table above.
What colors go well with #845BEC?
The complementary color is HSL(77, 79%, 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, 79%, 64%) in CSS?
As HSL: color: hsl(257, 79%, 64%); — As HEX: color: #845BEC; — As RGB: color: rgb(132, 91, 236); — Tailwind CSS: bg-[hsl(257,79%,64%)] — CSS variable: --color-primary: hsl(257, 79%, 64%);