HSL(262, 72%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,72%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 72%, 72%) | color: hsl(262, 72%, 72%) | |
| HEX | #AA84EB | color: #AA84EB | |
| RGB | rgb(170, 132, 235) | color: rgb(170, 132, 235) | |
| CMYK | cmyk(28%, 44%, 0%, 8%) | — | |
| HSV | hsv(262, 44%, 92%) | — | |
| HWB | hwb(262 52% 8%) | color: hwb(262 52% 8%) | |
| OKLCH | oklch(0.6915 0.1508 299.46) | color: oklch(0.6915 0.1508 299.46) | |
| Lab | lab(62.55 35.57 -46.89) | color: lab(62.55 35.57 -46.89) | |
| LCH | lch(62.55 58.85 307.18) | color: lch(62.55 58.85 307.18) |
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)
#9A99D2 — rgb(154, 153, 210)
Deuteranopia (Green-blind)
#9C9FCC — rgb(156, 159, 204)
Tritanopia (Blue-blind)
#A8BEBA — rgb(168, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 72%, 72%);
text
color: hsl(262, 72%, 72%);
border
border: 2px solid hsl(262, 72%, 72%);
gradient light
background: linear-gradient(to right, hsl(262, 72%, 92%), hsl(262, 72%, 72%));
gradient dark
background: linear-gradient(to right, hsl(262, 72%, 72%), hsl(262, 72%, 52%))
hex
background-color: #AA84EB;
tailwind
bg-[hsl(262,72%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 72%, 72%, 0.4);
css variable
--color-primary: hsl(262, 72%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 72%, 72%)?
HEX: #AA84EB | RGB: rgb(170, 132, 235) | CMYK: 28%, 44%, 0%, 8% | HSV: 262°, 44%, 92%. Copy any format from the conversion table above.
What colors go well with #AA84EB?
The complementary color is HSL(82, 72%, 72%). 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, 72%, 72%) in CSS?
As HSL: color: hsl(262, 72%, 72%); — As HEX: color: #AA84EB; — As RGB: color: rgb(170, 132, 235); — Tailwind CSS: bg-[hsl(262,72%,72%)] — CSS variable: --color-primary: hsl(262, 72%, 72%);