HSL(304, 79%, 57%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,79%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 79%, 57%) | color: hsl(304, 79%, 57%) | |
| HEX | #E83BDC | color: #E83BDC | |
| RGB | rgb(232, 59, 220) | color: rgb(232, 59, 220) | |
| CMYK | cmyk(0%, 75%, 5%, 9%) | — | |
| HSV | hsv(304, 75%, 91%) | — | |
| HWB | hwb(304 23% 9%) | color: hwb(304 23% 9%) | |
| OKLCH | oklch(0.6686 0.2626 331.17) | color: oklch(0.6686 0.2626 331.17) | |
| Lab | lab(57.52 80.63 -45.94) | color: lab(57.52 80.63 -45.94) | |
| LCH | lch(57.52 92.8 330.33) | color: lch(57.52 92.8 330.33) |
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)
#9D9CB5 — rgb(157, 156, 181)
Deuteranopia (Green-blind)
#A7B4AC — rgb(167, 180, 172)
Tritanopia (Blue-blind)
#DF9690 — rgb(223, 150, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 79%, 57%);
text
color: hsl(304, 79%, 57%);
border
border: 2px solid hsl(304, 79%, 57%);
gradient light
background: linear-gradient(to right, hsl(304, 79%, 77%), hsl(304, 79%, 57%));
gradient dark
background: linear-gradient(to right, hsl(304, 79%, 57%), hsl(304, 79%, 37%))
hex
background-color: #E83BDC;
tailwind
bg-[hsl(304,79%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 79%, 57%, 0.4);
css variable
--color-primary: hsl(304, 79%, 57%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 79%, 57%)?
HEX: #E83BDC | RGB: rgb(232, 59, 220) | CMYK: 0%, 75%, 5%, 9% | HSV: 304°, 75%, 91%. Copy any format from the conversion table above.
What colors go well with #E83BDC?
The complementary color is HSL(124, 79%, 57%). 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%, 57%) in CSS?
As HSL: color: hsl(304, 79%, 57%); — As HEX: color: #E83BDC; — As RGB: color: rgb(232, 59, 220); — Tailwind CSS: bg-[hsl(304,79%,57%)] — CSS variable: --color-primary: hsl(304, 79%, 57%);