HSL(282, 100%, 55%)
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,100%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 100%, 55%) | color: hsl(282, 100%, 55%) | |
| HEX | #BA1AFF | color: #BA1AFF | |
| RGB | rgb(186, 26, 255) | color: rgb(186, 26, 255) | |
| CMYK | cmyk(27%, 90%, 0%, 0%) | — | |
| HSV | hsv(282, 90%, 100%) | — | |
| HWB | hwb(282 10% 0%) | color: hwb(282 10% 0%) | |
| OKLCH | oklch(0.6086 0.2949 311.21) | color: oklch(0.6086 0.2949 311.21) | |
| Lab | lab(49.98 86.1 -78.09) | color: lab(49.98 86.1 -78.09) | |
| LCH | lch(49.98 116.24 317.79) | color: lch(49.98 116.24 317.79) |
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)
#7573C8 — rgb(117, 115, 200)
Deuteranopia (Green-blind)
#7E8ABA — rgb(126, 138, 186)
Tritanopia (Blue-blind)
#B29C92 — rgb(178, 156, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 100%, 55%);
text
color: hsl(282, 100%, 55%);
border
border: 2px solid hsl(282, 100%, 55%);
gradient light
background: linear-gradient(to right, hsl(282, 100%, 75%), hsl(282, 100%, 55%));
gradient dark
background: linear-gradient(to right, hsl(282, 100%, 55%), hsl(282, 100%, 35%))
hex
background-color: #BA1AFF;
tailwind
bg-[hsl(282,100%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 100%, 55%, 0.4);
css variable
--color-primary: hsl(282, 100%, 55%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 100%, 55%)?
HEX: #BA1AFF | RGB: rgb(186, 26, 255) | CMYK: 27%, 90%, 0%, 0% | HSV: 282°, 90%, 100%. Copy any format from the conversion table above.
What colors go well with #BA1AFF?
The complementary color is HSL(102, 100%, 55%). 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, 100%, 55%) in CSS?
As HSL: color: hsl(282, 100%, 55%); — As HEX: color: #BA1AFF; — As RGB: color: rgb(186, 26, 255); — Tailwind CSS: bg-[hsl(282,100%,55%)] — CSS variable: --color-primary: hsl(282, 100%, 55%);