HSL(304, 65%, 77%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,65%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 65%, 77%) | color: hsl(304, 65%, 77%) | |
| HEX | #EA9EE5 | color: #EA9EE5 | |
| RGB | rgb(234, 158, 229) | color: rgb(234, 158, 229) | |
| CMYK | cmyk(0%, 32%, 2%, 8%) | — | |
| HSV | hsv(304, 32%, 92%) | — | |
| HWB | hwb(304 63% 8%) | color: hwb(304 63% 8%) | |
| OKLCH | oklch(0.7964 0.128 328.98) | color: oklch(0.7964 0.128 328.98) | |
| Lab | lab(74.58 39.22 -24.4) | color: lab(74.58 39.22 -24.4) | |
| LCH | lch(74.58 46.19 328.11) | color: lch(74.58 46.19 328.11) |
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)
#C9C8D4 — rgb(201, 200, 212)
Deuteranopia (Green-blind)
#CED3D0 — rgb(206, 211, 208)
Tritanopia (Blue-blind)
#E6C6C3 — rgb(230, 198, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 65%, 77%);
text
color: hsl(304, 65%, 77%);
border
border: 2px solid hsl(304, 65%, 77%);
gradient light
background: linear-gradient(to right, hsl(304, 65%, 97%), hsl(304, 65%, 77%));
gradient dark
background: linear-gradient(to right, hsl(304, 65%, 77%), hsl(304, 65%, 57%))
hex
background-color: #EA9EE5;
tailwind
bg-[hsl(304,65%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 65%, 77%, 0.4);
css variable
--color-primary: hsl(304, 65%, 77%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 65%, 77%)?
HEX: #EA9EE5 | RGB: rgb(234, 158, 229) | CMYK: 0%, 32%, 2%, 8% | HSV: 304°, 32%, 92%. Copy any format from the conversion table above.
What colors go well with #EA9EE5?
The complementary color is HSL(124, 65%, 77%). 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, 65%, 77%) in CSS?
As HSL: color: hsl(304, 65%, 77%); — As HEX: color: #EA9EE5; — As RGB: color: rgb(234, 158, 229); — Tailwind CSS: bg-[hsl(304,65%,77%)] — CSS variable: --color-primary: hsl(304, 65%, 77%);