HSL(296, 97%, 53%)
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%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 97%, 53%) | color: hsl(296, 97%, 53%) | |
| HEX | #EC13FB | color: #EC13FB | |
| RGB | rgb(236, 19, 251) | color: rgb(236, 19, 251) | |
| CMYK | cmyk(6%, 92%, 0%, 2%) | — | |
| HSV | hsv(296, 92%, 98%) | — | |
| HWB | hwb(296 8% 2%) | color: hwb(296 8% 2%) | |
| OKLCH | oklch(0.6741 0.3094 324.95) | color: oklch(0.6741 0.3094 324.95) | |
| Lab | lab(57.33 93.46 -63.57) | color: lab(57.33 93.46 -63.57) | |
| LCH | lch(57.33 113.03 325.78) | color: lch(57.33 113.03 325.78) |
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)
#8E8CC3 — rgb(142, 140, 195)
Deuteranopia (Green-blind)
#9BABB5 — rgb(155, 171, 181)
Tritanopia (Blue-blind)
#E1978D — rgb(225, 151, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 97%, 53%);
text
color: hsl(296, 97%, 53%);
border
border: 2px solid hsl(296, 97%, 53%);
gradient light
background: linear-gradient(to right, hsl(296, 97%, 73%), hsl(296, 97%, 53%));
gradient dark
background: linear-gradient(to right, hsl(296, 97%, 53%), hsl(296, 97%, 33%))
hex
background-color: #EC13FB;
tailwind
bg-[hsl(296,97%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 97%, 53%, 0.4);
css variable
--color-primary: hsl(296, 97%, 53%);
Related Colors
Use Cases for Vivid Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 97%, 53%)?
HEX: #EC13FB | RGB: rgb(236, 19, 251) | CMYK: 6%, 92%, 0%, 2% | HSV: 296°, 92%, 98%. Copy any format from the conversion table above.
What colors go well with #EC13FB?
The complementary color is HSL(116, 97%, 53%). 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%, 53%) in CSS?
As HSL: color: hsl(296, 97%, 53%); — As HEX: color: #EC13FB; — As RGB: color: rgb(236, 19, 251); — Tailwind CSS: bg-[hsl(296,97%,53%)] — CSS variable: --color-primary: hsl(296, 97%, 53%);