HSL(259, 85%, 76%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(259,85%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(259, 85%, 76%) | color: hsl(259, 85%, 76%) | |
| HEX | #AF8EF6 | color: #AF8EF6 | |
| RGB | rgb(175, 142, 246) | color: rgb(175, 142, 246) | |
| CMYK | cmyk(29%, 42%, 0%, 4%) | — | |
| HSV | hsv(259, 42%, 96%) | — | |
| HWB | hwb(259 56% 4%) | color: hwb(259 56% 4%) | |
| OKLCH | oklch(0.7191 0.1501 297.1) | color: oklch(0.7191 0.1501 297.1) | |
| Lab | lab(65.84 33.99 -47.73) | color: lab(65.84 33.99 -47.73) | |
| LCH | lch(65.84 58.6 305.46) | color: lch(65.84 58.6 305.46) |
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)
#A1A0DD — rgb(161, 160, 221)
Deuteranopia (Green-blind)
#A3A5D7 — rgb(163, 165, 215)
Tritanopia (Blue-blind)
#ADC9C5 — rgb(173, 201, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(259, 85%, 76%);
text
color: hsl(259, 85%, 76%);
border
border: 2px solid hsl(259, 85%, 76%);
gradient light
background: linear-gradient(to right, hsl(259, 85%, 96%), hsl(259, 85%, 76%));
gradient dark
background: linear-gradient(to right, hsl(259, 85%, 76%), hsl(259, 85%, 56%))
hex
background-color: #AF8EF6;
tailwind
bg-[hsl(259,85%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(259, 85%, 76%, 0.4);
css variable
--color-primary: hsl(259, 85%, 76%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(259, 85%, 76%)?
HEX: #AF8EF6 | RGB: rgb(175, 142, 246) | CMYK: 29%, 42%, 0%, 4% | HSV: 259°, 42%, 96%. Copy any format from the conversion table above.
What colors go well with #AF8EF6?
The complementary color is HSL(79, 85%, 76%). For a triadic harmony, use hues 259°, 19°, and 139°. For analogous combinations, try hues 229° and 289°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(259, 85%, 76%) in CSS?
As HSL: color: hsl(259, 85%, 76%); — As HEX: color: #AF8EF6; — As RGB: color: rgb(175, 142, 246); — Tailwind CSS: bg-[hsl(259,85%,76%)] — CSS variable: --color-primary: hsl(259, 85%, 76%);