HSL(282, 83%, 52%)
Vivid Indigo — Indigo color
Adjust Color
Color Information
Color Name
Vivid Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,83%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 83%, 52%) | color: hsl(282, 83%, 52%) | |
| HEX | #AD1FEA | color: #AD1FEA | |
| RGB | rgb(173, 31, 234) | color: rgb(173, 31, 234) | |
| CMYK | cmyk(26%, 87%, 0%, 8%) | — | |
| HSV | hsv(282, 87%, 92%) | — | |
| HWB | hwb(282 12% 8%) | color: hwb(282 12% 8%) | |
| OKLCH | oklch(0.5773 0.2729 311.79) | color: oklch(0.5773 0.2729 311.79) | |
| Lab | lab(46.72 79.56 -71.7) | color: lab(46.72 79.56 -71.7) | |
| LCH | lch(46.72 107.1 317.97) | color: lch(46.72 107.1 317.97) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#706EB9 — rgb(112, 110, 185)
Deuteranopia (Green-blind)
#7882AD — rgb(120, 130, 173)
Tritanopia (Blue-blind)
#A6928A — rgb(166, 146, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 83%, 52%);
text
color: hsl(282, 83%, 52%);
border
border: 2px solid hsl(282, 83%, 52%);
gradient light
background: linear-gradient(to right, hsl(282, 83%, 72%), hsl(282, 83%, 52%));
gradient dark
background: linear-gradient(to right, hsl(282, 83%, 52%), hsl(282, 83%, 32%))
hex
background-color: #AD1FEA;
tailwind
bg-[hsl(282,83%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 83%, 52%, 0.4);
css variable
--color-primary: hsl(282, 83%, 52%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 83%, 52%)?
HEX: #AD1FEA | RGB: rgb(173, 31, 234) | CMYK: 26%, 87%, 0%, 8% | HSV: 282°, 87%, 92%. Copy any format from the conversion table above.
What colors go well with #AD1FEA?
The complementary color is HSL(102, 83%, 52%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 83%, 52%) in CSS?
As HSL: color: hsl(282, 83%, 52%); — As HEX: color: #AD1FEA; — As RGB: color: rgb(173, 31, 234); — Tailwind CSS: bg-[hsl(282,83%,52%)] — CSS variable: --color-primary: hsl(282, 83%, 52%);