HSL(303, 74%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,74%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 74%, 53%) | color: hsl(303, 74%, 53%) | |
| HEX | #E02ED7 | color: #E02ED7 | |
| RGB | rgb(224, 46, 215) | color: rgb(224, 46, 215) | |
| CMYK | cmyk(0%, 79%, 4%, 12%) | — | |
| HSV | hsv(303, 79%, 88%) | — | |
| HWB | hwb(303 18% 12%) | color: hwb(303 18% 12%) | |
| OKLCH | oklch(0.6457 0.2667 330.49) | color: oklch(0.6457 0.2667 330.49) | |
| Lab | lab(54.77 81.68 -47.53) | color: lab(54.77 81.68 -47.53) | |
| LCH | lch(54.77 94.5 329.8) | color: lch(54.77 94.5 329.8) |
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)
#9391AE — rgb(147, 145, 174)
Deuteranopia (Green-blind)
#9DABA4 — rgb(157, 171, 164)
Tritanopia (Blue-blind)
#D78E87 — rgb(215, 142, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 74%, 53%);
text
color: hsl(303, 74%, 53%);
border
border: 2px solid hsl(303, 74%, 53%);
gradient light
background: linear-gradient(to right, hsl(303, 74%, 73%), hsl(303, 74%, 53%));
gradient dark
background: linear-gradient(to right, hsl(303, 74%, 53%), hsl(303, 74%, 33%))
hex
background-color: #E02ED7;
tailwind
bg-[hsl(303,74%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 74%, 53%, 0.4);
css variable
--color-primary: hsl(303, 74%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 74%, 53%)?
HEX: #E02ED7 | RGB: rgb(224, 46, 215) | CMYK: 0%, 79%, 4%, 12% | HSV: 303°, 79%, 88%. Copy any format from the conversion table above.
What colors go well with #E02ED7?
The complementary color is HSL(123, 74%, 53%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 74%, 53%) in CSS?
As HSL: color: hsl(303, 74%, 53%); — As HEX: color: #E02ED7; — As RGB: color: rgb(224, 46, 215); — Tailwind CSS: bg-[hsl(303,74%,53%)] — CSS variable: --color-primary: hsl(303, 74%, 53%);