HSL(255, 40%, 73%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(255,40%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(255, 40%, 73%) | color: hsl(255, 40%, 73%) | |
| HEX | #AC9FD6 | color: #AC9FD6 | |
| RGB | rgb(172, 159, 214) | color: rgb(172, 159, 214) | |
| CMYK | cmyk(20%, 26%, 0%, 16%) | — | |
| HSV | hsv(254, 26%, 84%) | — | |
| HWB | hwb(254 62% 16%) | color: hwb(254 62% 16%) | |
| OKLCH | oklch(0.7331 0.0797 295.21) | color: oklch(0.7331 0.0797 295.21) | |
| Lab | lab(68.33 15.97 -26.25) | color: lab(68.33 15.97 -26.25) | |
| LCH | lch(68.33 30.73 301.32) | color: lch(68.33 30.73 301.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)
#A6A6C9 — rgb(166, 166, 201)
Deuteranopia (Green-blind)
#A7A8C6 — rgb(167, 168, 198)
Tritanopia (Blue-blind)
#ABBEBC — rgb(171, 190, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(255, 40%, 73%);
text
color: hsl(255, 40%, 73%);
border
border: 2px solid hsl(255, 40%, 73%);
gradient light
background: linear-gradient(to right, hsl(255, 40%, 93%), hsl(255, 40%, 73%));
gradient dark
background: linear-gradient(to right, hsl(255, 40%, 73%), hsl(255, 40%, 53%))
hex
background-color: #AC9FD6;
tailwind
bg-[hsl(255,40%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(255, 40%, 73%, 0.4);
css variable
--color-primary: hsl(255, 40%, 73%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(255, 40%, 73%)?
HEX: #AC9FD6 | RGB: rgb(172, 159, 214) | CMYK: 20%, 26%, 0%, 16% | HSV: 254°, 26%, 84%. Copy any format from the conversion table above.
What colors go well with #AC9FD6?
The complementary color is HSL(75, 40%, 73%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(255, 40%, 73%) in CSS?
As HSL: color: hsl(255, 40%, 73%); — As HEX: color: #AC9FD6; — As RGB: color: rgb(172, 159, 214); — Tailwind CSS: bg-[hsl(255,40%,73%)] — CSS variable: --color-primary: hsl(255, 40%, 73%);