HSL(304, 63%, 68%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,63%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 63%, 68%) | color: hsl(304, 63%, 68%) | |
| HEX | #E17ADA | color: #E17ADA | |
| RGB | rgb(225, 122, 218) | color: rgb(225, 122, 218) | |
| CMYK | cmyk(0%, 46%, 3%, 12%) | — | |
| HSV | hsv(304, 46%, 88%) | — | |
| HWB | hwb(304 48% 12%) | color: hwb(304 48% 12%) | |
| OKLCH | oklch(0.7264 0.1731 329.72) | color: oklch(0.7264 0.1731 329.72) | |
| Lab | lab(65.74 53.07 -32.01) | color: lab(65.74 53.07 -32.01) | |
| LCH | lch(65.74 61.98 328.9) | color: lch(65.74 61.98 328.9) |
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)
#B4B3C3 — rgb(180, 179, 195)
Deuteranopia (Green-blind)
#BAC2BD — rgb(186, 194, 189)
Tritanopia (Blue-blind)
#DCB0AC — rgb(220, 176, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 63%, 68%);
text
color: hsl(304, 63%, 68%);
border
border: 2px solid hsl(304, 63%, 68%);
gradient light
background: linear-gradient(to right, hsl(304, 63%, 88%), hsl(304, 63%, 68%));
gradient dark
background: linear-gradient(to right, hsl(304, 63%, 68%), hsl(304, 63%, 48%))
hex
background-color: #E17ADA;
tailwind
bg-[hsl(304,63%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 63%, 68%, 0.4);
css variable
--color-primary: hsl(304, 63%, 68%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 63%, 68%)?
HEX: #E17ADA | RGB: rgb(225, 122, 218) | CMYK: 0%, 46%, 3%, 12% | HSV: 304°, 46%, 88%. Copy any format from the conversion table above.
What colors go well with #E17ADA?
The complementary color is HSL(124, 63%, 68%). 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, 63%, 68%) in CSS?
As HSL: color: hsl(304, 63%, 68%); — As HEX: color: #E17ADA; — As RGB: color: rgb(225, 122, 218); — Tailwind CSS: bg-[hsl(304,63%,68%)] — CSS variable: --color-primary: hsl(304, 63%, 68%);