HSL(304, 75%, 56%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,75%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 75%, 56%) | color: hsl(304, 75%, 56%) | |
| HEX | #E33BD8 | color: #E33BD8 | |
| RGB | rgb(227, 59, 216) | color: rgb(227, 59, 216) | |
| CMYK | cmyk(0%, 74%, 5%, 11%) | — | |
| HSV | hsv(304, 74%, 89%) | — | |
| HWB | hwb(304 23% 11%) | color: hwb(304 23% 11%) | |
| OKLCH | oklch(0.6591 0.2575 330.97) | color: oklch(0.6591 0.2575 330.97) | |
| Lab | lab(56.51 79 -45.32) | color: lab(56.51 79 -45.32) | |
| LCH | lch(56.51 91.08 330.16) | color: lch(56.51 91.08 330.16) |
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)
#9A99B2 — rgb(154, 153, 178)
Deuteranopia (Green-blind)
#A4B1A9 — rgb(164, 177, 169)
Tritanopia (Blue-blind)
#DB948D — rgb(219, 148, 141)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 75%, 56%);
text
color: hsl(304, 75%, 56%);
border
border: 2px solid hsl(304, 75%, 56%);
gradient light
background: linear-gradient(to right, hsl(304, 75%, 76%), hsl(304, 75%, 56%));
gradient dark
background: linear-gradient(to right, hsl(304, 75%, 56%), hsl(304, 75%, 36%))
hex
background-color: #E33BD8;
tailwind
bg-[hsl(304,75%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 75%, 56%, 0.4);
css variable
--color-primary: hsl(304, 75%, 56%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 75%, 56%)?
HEX: #E33BD8 | RGB: rgb(227, 59, 216) | CMYK: 0%, 74%, 5%, 11% | HSV: 304°, 74%, 89%. Copy any format from the conversion table above.
What colors go well with #E33BD8?
The complementary color is HSL(124, 75%, 56%). 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%, 56%) in CSS?
As HSL: color: hsl(304, 75%, 56%); — As HEX: color: #E33BD8; — As RGB: color: rgb(227, 59, 216); — Tailwind CSS: bg-[hsl(304,75%,56%)] — CSS variable: --color-primary: hsl(304, 75%, 56%);