HSL(304, 75%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,75%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 75%, 73%) | color: hsl(304, 75%, 73%) | |
| HEX | #EE87E7 | color: #EE87E7 | |
| RGB | rgb(238, 135, 231) | color: rgb(238, 135, 231) | |
| CMYK | cmyk(0%, 43%, 3%, 7%) | — | |
| HSV | hsv(304, 43%, 93%) | — | |
| HWB | hwb(304 53% 7%) | color: hwb(304 53% 7%) | |
| OKLCH | oklch(0.766 0.1717 329.6) | color: oklch(0.766 0.1717 329.6) | |
| Lab | lab(70.37 52.66 -31.92) | color: lab(70.37 52.66 -31.92) | |
| LCH | lch(70.37 61.58 328.78) | color: lch(70.37 61.58 328.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)
#C1C0D0 — rgb(193, 192, 208)
Deuteranopia (Green-blind)
#C7CFCA — rgb(199, 207, 202)
Tritanopia (Blue-blind)
#E9BDB9 — rgb(233, 189, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 75%, 73%);
text
color: hsl(304, 75%, 73%);
border
border: 2px solid hsl(304, 75%, 73%);
gradient light
background: linear-gradient(to right, hsl(304, 75%, 93%), hsl(304, 75%, 73%));
gradient dark
background: linear-gradient(to right, hsl(304, 75%, 73%), hsl(304, 75%, 53%))
hex
background-color: #EE87E7;
tailwind
bg-[hsl(304,75%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 75%, 73%, 0.4);
css variable
--color-primary: hsl(304, 75%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 75%, 73%)?
HEX: #EE87E7 | RGB: rgb(238, 135, 231) | CMYK: 0%, 43%, 3%, 7% | HSV: 304°, 43%, 93%. Copy any format from the conversion table above.
What colors go well with #EE87E7?
The complementary color is HSL(124, 75%, 73%). 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, 75%, 73%) in CSS?
As HSL: color: hsl(304, 75%, 73%); — As HEX: color: #EE87E7; — As RGB: color: rgb(238, 135, 231); — Tailwind CSS: bg-[hsl(304,75%,73%)] — CSS variable: --color-primary: hsl(304, 75%, 73%);