HSL(287, 94%, 52%)
Vivid Purple — Purple color
Adjust Color
Color Information
Color Name
Vivid Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,94%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 94%, 52%) | color: hsl(287, 94%, 52%) | |
| HEX | #C612F8 | color: #C612F8 | |
| RGB | rgb(198, 18, 248) | color: rgb(198, 18, 248) | |
| CMYK | cmyk(20%, 93%, 0%, 3%) | — | |
| HSV | hsv(287, 93%, 97%) | — | |
| HWB | hwb(287 7% 3%) | color: hwb(287 7% 3%) | |
| OKLCH | oklch(0.6173 0.2959 316.13) | color: oklch(0.6173 0.2959 316.13) | |
| Lab | lab(50.94 87.54 -72.54) | color: lab(50.94 87.54 -72.54) | |
| LCH | lch(50.94 113.69 320.35) | color: lch(50.94 113.69 320.35) |
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)
#7876C0 — rgb(120, 118, 192)
Deuteranopia (Green-blind)
#8390B3 — rgb(131, 144, 179)
Tritanopia (Blue-blind)
#BD948B — rgb(189, 148, 139)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 94%, 52%);
text
color: hsl(287, 94%, 52%);
border
border: 2px solid hsl(287, 94%, 52%);
gradient light
background: linear-gradient(to right, hsl(287, 94%, 72%), hsl(287, 94%, 52%));
gradient dark
background: linear-gradient(to right, hsl(287, 94%, 52%), hsl(287, 94%, 32%))
hex
background-color: #C612F8;
tailwind
bg-[hsl(287,94%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 94%, 52%, 0.4);
css variable
--color-primary: hsl(287, 94%, 52%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 94%, 52%)?
HEX: #C612F8 | RGB: rgb(198, 18, 248) | CMYK: 20%, 93%, 0%, 3% | HSV: 287°, 93%, 97%. Copy any format from the conversion table above.
What colors go well with #C612F8?
The complementary color is HSL(107, 94%, 52%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 94%, 52%) in CSS?
As HSL: color: hsl(287, 94%, 52%); — As HEX: color: #C612F8; — As RGB: color: rgb(198, 18, 248); — Tailwind CSS: bg-[hsl(287,94%,52%)] — CSS variable: --color-primary: hsl(287, 94%, 52%);