HSL(262, 46%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,46%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 46%, 72%) | color: hsl(262, 46%, 72%) | |
| HEX | #AF97D8 | color: #AF97D8 | |
| RGB | rgb(175, 151, 216) | color: rgb(175, 151, 216) | |
| CMYK | cmyk(19%, 30%, 0%, 15%) | — | |
| HSV | hsv(262, 30%, 85%) | — | |
| HWB | hwb(262 60% 15%) | color: hwb(262 60% 15%) | |
| OKLCH | oklch(0.7212 0.096 300.97) | color: oklch(0.7212 0.096 300.97) | |
| Lab | lab(66.68 21.85 -29.88) | color: lab(66.68 21.85 -29.88) | |
| LCH | lch(66.68 37.02 306.18) | color: lch(66.68 37.02 306.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)
#A5A4C8 — rgb(165, 164, 200)
Deuteranopia (Green-blind)
#A6A8C5 — rgb(166, 168, 197)
Tritanopia (Blue-blind)
#AEBCB9 — rgb(174, 188, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 46%, 72%);
text
color: hsl(262, 46%, 72%);
border
border: 2px solid hsl(262, 46%, 72%);
gradient light
background: linear-gradient(to right, hsl(262, 46%, 92%), hsl(262, 46%, 72%));
gradient dark
background: linear-gradient(to right, hsl(262, 46%, 72%), hsl(262, 46%, 52%))
hex
background-color: #AF97D8;
tailwind
bg-[hsl(262,46%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 46%, 72%, 0.4);
css variable
--color-primary: hsl(262, 46%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 46%, 72%)?
HEX: #AF97D8 | RGB: rgb(175, 151, 216) | CMYK: 19%, 30%, 0%, 15% | HSV: 262°, 30%, 85%. Copy any format from the conversion table above.
What colors go well with #AF97D8?
The complementary color is HSL(82, 46%, 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, 46%, 72%) in CSS?
As HSL: color: hsl(262, 46%, 72%); — As HEX: color: #AF97D8; — As RGB: color: rgb(175, 151, 216); — Tailwind CSS: bg-[hsl(262,46%,72%)] — CSS variable: --color-primary: hsl(262, 46%, 72%);