HSL(258, 80%, 75%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(258,80%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(258, 80%, 75%) | color: hsl(258, 80%, 75%) | |
| HEX | #AB8CF2 | color: #AB8CF2 | |
| RGB | rgb(171, 140, 242) | color: rgb(171, 140, 242) | |
| CMYK | cmyk(29%, 42%, 0%, 5%) | — | |
| HSV | hsv(258, 42%, 95%) | — | |
| HWB | hwb(258 55% 5%) | color: hwb(258 55% 5%) | |
| OKLCH | oklch(0.71 0.1475 296.46) | color: oklch(0.71 0.1475 296.46) | |
| Lab | lab(64.82 33.05 -47.15) | color: lab(64.82 33.05 -47.15) | |
| LCH | lch(64.82 57.58 305.03) | color: lch(64.82 57.58 305.03) |
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)
#9E9DD9 — rgb(158, 157, 217)
Deuteranopia (Green-blind)
#9FA2D3 — rgb(159, 162, 211)
Tritanopia (Blue-blind)
#A9C6C2 — rgb(169, 198, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(258, 80%, 75%);
text
color: hsl(258, 80%, 75%);
border
border: 2px solid hsl(258, 80%, 75%);
gradient light
background: linear-gradient(to right, hsl(258, 80%, 95%), hsl(258, 80%, 75%));
gradient dark
background: linear-gradient(to right, hsl(258, 80%, 75%), hsl(258, 80%, 55%))
hex
background-color: #AB8CF2;
tailwind
bg-[hsl(258,80%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(258, 80%, 75%, 0.4);
css variable
--color-primary: hsl(258, 80%, 75%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(258, 80%, 75%)?
HEX: #AB8CF2 | RGB: rgb(171, 140, 242) | CMYK: 29%, 42%, 0%, 5% | HSV: 258°, 42%, 95%. Copy any format from the conversion table above.
What colors go well with #AB8CF2?
The complementary color is HSL(78, 80%, 75%). For a triadic harmony, use hues 258°, 18°, and 138°. For analogous combinations, try hues 228° and 288°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(258, 80%, 75%) in CSS?
As HSL: color: hsl(258, 80%, 75%); — As HEX: color: #AB8CF2; — As RGB: color: rgb(171, 140, 242); — Tailwind CSS: bg-[hsl(258,80%,75%)] — CSS variable: --color-primary: hsl(258, 80%, 75%);