HSL(262, 93%, 73%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,93%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 93%, 73%) | color: hsl(262, 93%, 73%) | |
| HEX | #A97AFA | color: #A97AFA | |
| RGB | rgb(169, 122, 250) | color: rgb(169, 122, 250) | |
| CMYK | cmyk(32%, 51%, 0%, 2%) | — | |
| HSV | hsv(262, 51%, 98%) | — | |
| HWB | hwb(262 48% 2%) | color: hwb(262 48% 2%) | |
| OKLCH | oklch(0.6823 0.1848 298.31) | color: oklch(0.6823 0.1848 298.31) | |
| Lab | lab(61.01 44.55 -57.62) | color: lab(61.01 44.55 -57.62) | |
| LCH | lch(61.01 72.83 307.71) | color: lch(61.01 72.83 307.71) |
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)
#9594DB — rgb(149, 148, 219)
Deuteranopia (Green-blind)
#979BD4 — rgb(151, 155, 212)
Tritanopia (Blue-blind)
#A7C3BD — rgb(167, 195, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 93%, 73%);
text
color: hsl(262, 93%, 73%);
border
border: 2px solid hsl(262, 93%, 73%);
gradient light
background: linear-gradient(to right, hsl(262, 93%, 93%), hsl(262, 93%, 73%));
gradient dark
background: linear-gradient(to right, hsl(262, 93%, 73%), hsl(262, 93%, 53%))
hex
background-color: #A97AFA;
tailwind
bg-[hsl(262,93%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 93%, 73%, 0.4);
css variable
--color-primary: hsl(262, 93%, 73%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 93%, 73%)?
HEX: #A97AFA | RGB: rgb(169, 122, 250) | CMYK: 32%, 51%, 0%, 2% | HSV: 262°, 51%, 98%. Copy any format from the conversion table above.
What colors go well with #A97AFA?
The complementary color is HSL(82, 93%, 73%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 93%, 73%) in CSS?
As HSL: color: hsl(262, 93%, 73%); — As HEX: color: #A97AFA; — As RGB: color: rgb(169, 122, 250); — Tailwind CSS: bg-[hsl(262,93%,73%)] — CSS variable: --color-primary: hsl(262, 93%, 73%);