HSL(296, 97%, 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(296,97%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 97%, 52%) | color: hsl(296, 97%, 52%) | |
| HEX | #EB0EFB | color: #EB0EFB | |
| RGB | rgb(235, 14, 251) | color: rgb(235, 14, 251) | |
| CMYK | cmyk(6%, 94%, 0%, 2%) | — | |
| HSV | hsv(296, 94%, 98%) | — | |
| HWB | hwb(296 6% 2%) | color: hwb(296 6% 2%) | |
| OKLCH | oklch(0.6716 0.3105 324.74) | color: oklch(0.6716 0.3105 324.74) | |
| Lab | lab(57.02 93.74 -64.09) | color: lab(57.02 93.74 -64.09) | |
| LCH | lch(57.02 113.55 325.64) | color: lch(57.02 113.55 325.64) |
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)
#8B89C2 — rgb(139, 137, 194)
Deuteranopia (Green-blind)
#98A9B4 — rgb(152, 169, 180)
Tritanopia (Blue-blind)
#E0948A — rgb(224, 148, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 97%, 52%);
text
color: hsl(296, 97%, 52%);
border
border: 2px solid hsl(296, 97%, 52%);
gradient light
background: linear-gradient(to right, hsl(296, 97%, 72%), hsl(296, 97%, 52%));
gradient dark
background: linear-gradient(to right, hsl(296, 97%, 52%), hsl(296, 97%, 32%))
hex
background-color: #EB0EFB;
tailwind
bg-[hsl(296,97%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 97%, 52%, 0.4);
css variable
--color-primary: hsl(296, 97%, 52%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 97%, 52%)?
HEX: #EB0EFB | RGB: rgb(235, 14, 251) | CMYK: 6%, 94%, 0%, 2% | HSV: 296°, 94%, 98%. Copy any format from the conversion table above.
What colors go well with #EB0EFB?
The complementary color is HSL(116, 97%, 52%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 97%, 52%) in CSS?
As HSL: color: hsl(296, 97%, 52%); — As HEX: color: #EB0EFB; — As RGB: color: rgb(235, 14, 251); — Tailwind CSS: bg-[hsl(296,97%,52%)] — CSS variable: --color-primary: hsl(296, 97%, 52%);