HSL(282, 90%, 58%)
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,90%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 90%, 58%) | color: hsl(282, 90%, 58%) | |
| HEX | #BA34F4 | color: #BA34F4 | |
| RGB | rgb(186, 52, 244) | color: rgb(186, 52, 244) | |
| CMYK | cmyk(24%, 79%, 0%, 4%) | — | |
| HSV | hsv(282, 79%, 96%) | — | |
| HWB | hwb(282 20% 4%) | color: hwb(282 20% 4%) | |
| OKLCH | oklch(0.6145 0.2697 312.71) | color: oklch(0.6145 0.2697 312.71) | |
| Lab | lab(51.18 78.12 -69.99) | color: lab(51.18 78.12 -69.99) | |
| LCH | lch(51.18 104.89 318.14) | color: lch(51.18 104.89 318.14) |
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)
#807FC6 — rgb(128, 127, 198)
Deuteranopia (Green-blind)
#8892BA — rgb(136, 146, 186)
Tritanopia (Blue-blind)
#B3A199 — rgb(179, 161, 153)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 90%, 58%);
text
color: hsl(282, 90%, 58%);
border
border: 2px solid hsl(282, 90%, 58%);
gradient light
background: linear-gradient(to right, hsl(282, 90%, 78%), hsl(282, 90%, 58%));
gradient dark
background: linear-gradient(to right, hsl(282, 90%, 58%), hsl(282, 90%, 38%))
hex
background-color: #BA34F4;
tailwind
bg-[hsl(282,90%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 90%, 58%, 0.4);
css variable
--color-primary: hsl(282, 90%, 58%);
Related Colors
Use Cases for Vivid Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 90%, 58%)?
HEX: #BA34F4 | RGB: rgb(186, 52, 244) | CMYK: 24%, 79%, 0%, 4% | HSV: 282°, 79%, 96%. Copy any format from the conversion table above.
What colors go well with #BA34F4?
The complementary color is HSL(102, 90%, 58%). 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, 90%, 58%) in CSS?
As HSL: color: hsl(282, 90%, 58%); — As HEX: color: #BA34F4; — As RGB: color: rgb(186, 52, 244); — Tailwind CSS: bg-[hsl(282,90%,58%)] — CSS variable: --color-primary: hsl(282, 90%, 58%);