HSL(257, 74%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(257,74%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(257, 74%, 70%) | color: hsl(257, 74%, 70%) | |
| HEX | #9A7AEB | color: #9A7AEB | |
| RGB | rgb(154, 122, 235) | color: rgb(154, 122, 235) | |
| CMYK | cmyk(34%, 48%, 0%, 8%) | — | |
| HSV | hsv(257, 48%, 92%) | — | |
| HWB | hwb(257 48% 8%) | color: hwb(257 48% 8%) | |
| OKLCH | oklch(0.6597 0.1642 294.52) | color: oklch(0.6597 0.1642 294.52) | |
| Lab | lab(58.78 37.02 -52.96) | color: lab(58.78 37.02 -52.96) | |
| LCH | lch(58.78 64.62 304.95) | color: lch(58.78 64.62 304.95) |
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)
#8C8CD0 — rgb(140, 140, 208)
Deuteranopia (Green-blind)
#8E90C9 — rgb(142, 144, 201)
Tritanopia (Blue-blind)
#98BAB5 — rgb(152, 186, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(257, 74%, 70%);
text
color: hsl(257, 74%, 70%);
border
border: 2px solid hsl(257, 74%, 70%);
gradient light
background: linear-gradient(to right, hsl(257, 74%, 90%), hsl(257, 74%, 70%));
gradient dark
background: linear-gradient(to right, hsl(257, 74%, 70%), hsl(257, 74%, 50%))
hex
background-color: #9A7AEB;
tailwind
bg-[hsl(257,74%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(257, 74%, 70%, 0.4);
css variable
--color-primary: hsl(257, 74%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(257, 74%, 70%)?
HEX: #9A7AEB | RGB: rgb(154, 122, 235) | CMYK: 34%, 48%, 0%, 8% | HSV: 257°, 48%, 92%. Copy any format from the conversion table above.
What colors go well with #9A7AEB?
The complementary color is HSL(77, 74%, 70%). 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, 74%, 70%) in CSS?
As HSL: color: hsl(257, 74%, 70%); — As HEX: color: #9A7AEB; — As RGB: color: rgb(154, 122, 235); — Tailwind CSS: bg-[hsl(257,74%,70%)] — CSS variable: --color-primary: hsl(257, 74%, 70%);