HSL(288, 83%, 42%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,83%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 83%, 42%) | color: hsl(288, 83%, 42%) | |
| HEX | #A012C4 | color: #A012C4 | |
| RGB | rgb(160, 18, 196) | color: rgb(160, 18, 196) | |
| CMYK | cmyk(18%, 91%, 0%, 23%) | — | |
| HSV | hsv(288, 91%, 77%) | — | |
| HWB | hwb(288 7% 23%) | color: hwb(288 7% 23%) | |
| OKLCH | oklch(0.5251 0.2467 317.37) | color: oklch(0.5251 0.2467 317.37) | |
| Lab | lab(41.05 73.08 -59.18) | color: lab(41.05 73.08 -59.18) | |
| LCH | lch(41.05 94.04 321) | color: lch(41.05 94.04 321) |
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)
#636199 — rgb(99, 97, 153)
Deuteranopia (Green-blind)
#6B758F — rgb(107, 117, 143)
Tritanopia (Blue-blind)
#99776F — rgb(153, 119, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 83%, 42%);
text
color: hsl(288, 83%, 42%);
border
border: 2px solid hsl(288, 83%, 42%);
gradient light
background: linear-gradient(to right, hsl(288, 83%, 62%), hsl(288, 83%, 42%));
gradient dark
background: linear-gradient(to right, hsl(288, 83%, 42%), hsl(288, 83%, 22%))
hex
background-color: #A012C4;
tailwind
bg-[hsl(288,83%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 83%, 42%, 0.4);
css variable
--color-primary: hsl(288, 83%, 42%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 83%, 42%)?
HEX: #A012C4 | RGB: rgb(160, 18, 196) | CMYK: 18%, 91%, 0%, 23% | HSV: 288°, 91%, 77%. Copy any format from the conversion table above.
What colors go well with #A012C4?
The complementary color is HSL(108, 83%, 42%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 83%, 42%) in CSS?
As HSL: color: hsl(288, 83%, 42%); — As HEX: color: #A012C4; — As RGB: color: rgb(160, 18, 196); — Tailwind CSS: bg-[hsl(288,83%,42%)] — CSS variable: --color-primary: hsl(288, 83%, 42%);