HSL(282, 94%, 50%)
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,94%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 94%, 50%) | color: hsl(282, 94%, 50%) | |
| HEX | #AF08F7 | color: #AF08F7 | |
| RGB | rgb(175, 8, 247) | color: rgb(175, 8, 247) | |
| CMYK | cmyk(29%, 97%, 0%, 3%) | — | |
| HSV | hsv(282, 97%, 97%) | — | |
| HWB | hwb(282 3% 3%) | color: hwb(282 3% 3%) | |
| OKLCH | oklch(0.5828 0.2919 310.03) | color: oklch(0.5828 0.2919 310.03) | |
| Lab | lab(46.98 85.38 -78.59) | color: lab(46.98 85.38 -78.59) | |
| LCH | lch(46.98 116.04 317.37) | color: lch(46.98 116.04 317.37) |
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)
#6765BD — rgb(103, 101, 189)
Deuteranopia (Green-blind)
#707DAF — rgb(112, 125, 175)
Tritanopia (Blue-blind)
#A79085 — rgb(167, 144, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 94%, 50%);
text
color: hsl(282, 94%, 50%);
border
border: 2px solid hsl(282, 94%, 50%);
gradient light
background: linear-gradient(to right, hsl(282, 94%, 70%), hsl(282, 94%, 50%));
gradient dark
background: linear-gradient(to right, hsl(282, 94%, 50%), hsl(282, 94%, 30%))
hex
background-color: #AF08F7;
tailwind
bg-[hsl(282,94%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 94%, 50%, 0.4);
css variable
--color-primary: hsl(282, 94%, 50%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 94%, 50%)?
HEX: #AF08F7 | RGB: rgb(175, 8, 247) | CMYK: 29%, 97%, 0%, 3% | HSV: 282°, 97%, 97%. Copy any format from the conversion table above.
What colors go well with #AF08F7?
The complementary color is HSL(102, 94%, 50%). 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, 94%, 50%) in CSS?
As HSL: color: hsl(282, 94%, 50%); — As HEX: color: #AF08F7; — As RGB: color: rgb(175, 8, 247); — Tailwind CSS: bg-[hsl(282,94%,50%)] — CSS variable: --color-primary: hsl(282, 94%, 50%);