HSL(304, 79%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,79%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 79%, 65%) | color: hsl(304, 79%, 65%) | |
| HEX | #EC5FE3 | color: #EC5FE3 | |
| RGB | rgb(236, 95, 227) | color: rgb(236, 95, 227) | |
| CMYK | cmyk(0%, 60%, 4%, 7%) | — | |
| HSV | hsv(304, 60%, 93%) | — | |
| HWB | hwb(304 37% 7%) | color: hwb(304 37% 7%) | |
| OKLCH | oklch(0.7104 0.2281 330.25) | color: oklch(0.7104 0.2281 330.25) | |
| Lab | lab(62.98 69.93 -41.22) | color: lab(62.98 69.93 -41.22) | |
| LCH | lch(62.98 81.17 329.48) | color: lch(62.98 81.17 329.48) |
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)
#AFAEC3 — rgb(175, 174, 195)
Deuteranopia (Green-blind)
#B7C2BB — rgb(183, 194, 187)
Tritanopia (Blue-blind)
#E5AAA4 — rgb(229, 170, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 79%, 65%);
text
color: hsl(304, 79%, 65%);
border
border: 2px solid hsl(304, 79%, 65%);
gradient light
background: linear-gradient(to right, hsl(304, 79%, 85%), hsl(304, 79%, 65%));
gradient dark
background: linear-gradient(to right, hsl(304, 79%, 65%), hsl(304, 79%, 45%))
hex
background-color: #EC5FE3;
tailwind
bg-[hsl(304,79%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 79%, 65%, 0.4);
css variable
--color-primary: hsl(304, 79%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 79%, 65%)?
HEX: #EC5FE3 | RGB: rgb(236, 95, 227) | CMYK: 0%, 60%, 4%, 7% | HSV: 304°, 60%, 93%. Copy any format from the conversion table above.
What colors go well with #EC5FE3?
The complementary color is HSL(124, 79%, 65%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 79%, 65%) in CSS?
As HSL: color: hsl(304, 79%, 65%); — As HEX: color: #EC5FE3; — As RGB: color: rgb(236, 95, 227); — Tailwind CSS: bg-[hsl(304,79%,65%)] — CSS variable: --color-primary: hsl(304, 79%, 65%);