HSL(302, 80%, 58%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,80%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 80%, 58%) | color: hsl(302, 80%, 58%) | |
| HEX | #EA3EE4 | color: #EA3EE4 | |
| RGB | rgb(234, 62, 228) | color: rgb(234, 62, 228) | |
| CMYK | cmyk(0%, 74%, 3%, 8%) | — | |
| HSV | hsv(302, 74%, 92%) | — | |
| HWB | hwb(302 24% 8%) | color: hwb(302 24% 8%) | |
| OKLCH | oklch(0.6779 0.2664 329.58) | color: oklch(0.6779 0.2664 329.58) | |
| Lab | lab(58.55 81.37 -48.79) | color: lab(58.55 81.37 -48.79) | |
| LCH | lch(58.55 94.88 329.05) | color: lch(58.55 94.88 329.05) |
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)
#A09EBC — rgb(160, 158, 188)
Deuteranopia (Green-blind)
#AAB6B2 — rgb(170, 182, 178)
Tritanopia (Blue-blind)
#E19C95 — rgb(225, 156, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 80%, 58%);
text
color: hsl(302, 80%, 58%);
border
border: 2px solid hsl(302, 80%, 58%);
gradient light
background: linear-gradient(to right, hsl(302, 80%, 78%), hsl(302, 80%, 58%));
gradient dark
background: linear-gradient(to right, hsl(302, 80%, 58%), hsl(302, 80%, 38%))
hex
background-color: #EA3EE4;
tailwind
bg-[hsl(302,80%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 80%, 58%, 0.4);
css variable
--color-primary: hsl(302, 80%, 58%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 80%, 58%)?
HEX: #EA3EE4 | RGB: rgb(234, 62, 228) | CMYK: 0%, 74%, 3%, 8% | HSV: 302°, 74%, 92%. Copy any format from the conversion table above.
What colors go well with #EA3EE4?
The complementary color is HSL(122, 80%, 58%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 80%, 58%) in CSS?
As HSL: color: hsl(302, 80%, 58%); — As HEX: color: #EA3EE4; — As RGB: color: rgb(234, 62, 228); — Tailwind CSS: bg-[hsl(302,80%,58%)] — CSS variable: --color-primary: hsl(302, 80%, 58%);