HSL(261, 77%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(261,77%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(261, 77%, 72%) | color: hsl(261, 77%, 72%) | |
| HEX | #A781EF | color: #A781EF | |
| RGB | rgb(167, 129, 239) | color: rgb(167, 129, 239) | |
| CMYK | cmyk(30%, 46%, 0%, 6%) | — | |
| HSV | hsv(261, 46%, 94%) | — | |
| HWB | hwb(261 51% 6%) | color: hwb(261 51% 6%) | |
| OKLCH | oklch(0.6857 0.1601 297.99) | color: oklch(0.6857 0.1601 297.99) | |
| Lab | lab(61.78 37.43 -50.33) | color: lab(61.78 37.43 -50.33) | |
| LCH | lch(61.78 62.72 306.64) | color: lch(61.78 62.72 306.64) |
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)
#9796D4 — rgb(151, 150, 212)
Deuteranopia (Green-blind)
#999CCE — rgb(153, 156, 206)
Tritanopia (Blue-blind)
#A5BFBB — rgb(165, 191, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(261, 77%, 72%);
text
color: hsl(261, 77%, 72%);
border
border: 2px solid hsl(261, 77%, 72%);
gradient light
background: linear-gradient(to right, hsl(261, 77%, 92%), hsl(261, 77%, 72%));
gradient dark
background: linear-gradient(to right, hsl(261, 77%, 72%), hsl(261, 77%, 52%))
hex
background-color: #A781EF;
tailwind
bg-[hsl(261,77%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(261, 77%, 72%, 0.4);
css variable
--color-primary: hsl(261, 77%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(261, 77%, 72%)?
HEX: #A781EF | RGB: rgb(167, 129, 239) | CMYK: 30%, 46%, 0%, 6% | HSV: 261°, 46%, 94%. Copy any format from the conversion table above.
What colors go well with #A781EF?
The complementary color is HSL(81, 77%, 72%). For a triadic harmony, use hues 261°, 21°, and 141°. For analogous combinations, try hues 231° and 291°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(261, 77%, 72%) in CSS?
As HSL: color: hsl(261, 77%, 72%); — As HEX: color: #A781EF; — As RGB: color: rgb(167, 129, 239); — Tailwind CSS: bg-[hsl(261,77%,72%)] — CSS variable: --color-primary: hsl(261, 77%, 72%);