HSL(265, 85%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(265,85%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(265, 85%, 71%) | color: hsl(265, 85%, 71%) | |
| HEX | #AB76F4 | color: #AB76F4 | |
| RGB | rgb(171, 118, 244) | color: rgb(171, 118, 244) | |
| CMYK | cmyk(30%, 52%, 0%, 4%) | — | |
| HSV | hsv(265, 52%, 96%) | — | |
| HWB | hwb(265 46% 4%) | color: hwb(265 46% 4%) | |
| OKLCH | oklch(0.6744 0.1838 301.03) | color: oklch(0.6744 0.1838 301.03) | |
| Lab | lab(60.02 45.76 -55.87) | color: lab(60.02 45.76 -55.87) | |
| LCH | lch(60.02 72.22 309.32) | color: lch(60.02 72.22 309.32) |
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)
#9494D6 — rgb(148, 148, 214)
Deuteranopia (Green-blind)
#979BCE — rgb(151, 155, 206)
Tritanopia (Blue-blind)
#A8BDB8 — rgb(168, 189, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(265, 85%, 71%);
text
color: hsl(265, 85%, 71%);
border
border: 2px solid hsl(265, 85%, 71%);
gradient light
background: linear-gradient(to right, hsl(265, 85%, 91%), hsl(265, 85%, 71%));
gradient dark
background: linear-gradient(to right, hsl(265, 85%, 71%), hsl(265, 85%, 51%))
hex
background-color: #AB76F4;
tailwind
bg-[hsl(265,85%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(265, 85%, 71%, 0.4);
css variable
--color-primary: hsl(265, 85%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(265, 85%, 71%)?
HEX: #AB76F4 | RGB: rgb(171, 118, 244) | CMYK: 30%, 52%, 0%, 4% | HSV: 265°, 52%, 96%. Copy any format from the conversion table above.
What colors go well with #AB76F4?
The complementary color is HSL(85, 85%, 71%). For a triadic harmony, use hues 265°, 25°, and 145°. For analogous combinations, try hues 235° and 295°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(265, 85%, 71%) in CSS?
As HSL: color: hsl(265, 85%, 71%); — As HEX: color: #AB76F4; — As RGB: color: rgb(171, 118, 244); — Tailwind CSS: bg-[hsl(265,85%,71%)] — CSS variable: --color-primary: hsl(265, 85%, 71%);