HSL(299, 80%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,80%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 80%, 53%) | color: hsl(299, 80%, 53%) | |
| HEX | #E427E7 | color: #E427E7 | |
| RGB | rgb(228, 39, 231) | color: rgb(228, 39, 231) | |
| CMYK | cmyk(1%, 83%, 0%, 9%) | — | |
| HSV | hsv(299, 83%, 91%) | — | |
| HWB | hwb(299 15% 9%) | color: hwb(299 15% 9%) | |
| OKLCH | oklch(0.6571 0.2841 327.49) | color: oklch(0.6571 0.2841 327.49) | |
| Lab | lab(55.8 86.29 -54.91) | color: lab(55.8 86.29 -54.91) | |
| LCH | lch(55.8 102.28 327.53) | color: lch(55.8 102.28 327.53) |
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)
#9290B9 — rgb(146, 144, 185)
Deuteranopia (Green-blind)
#9DABAD — rgb(157, 171, 173)
Tritanopia (Blue-blind)
#DB948C — rgb(219, 148, 140)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 80%, 53%);
text
color: hsl(299, 80%, 53%);
border
border: 2px solid hsl(299, 80%, 53%);
gradient light
background: linear-gradient(to right, hsl(299, 80%, 73%), hsl(299, 80%, 53%));
gradient dark
background: linear-gradient(to right, hsl(299, 80%, 53%), hsl(299, 80%, 33%))
hex
background-color: #E427E7;
tailwind
bg-[hsl(299,80%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 80%, 53%, 0.4);
css variable
--color-primary: hsl(299, 80%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 80%, 53%)?
HEX: #E427E7 | RGB: rgb(228, 39, 231) | CMYK: 1%, 83%, 0%, 9% | HSV: 299°, 83%, 91%. Copy any format from the conversion table above.
What colors go well with #E427E7?
The complementary color is HSL(119, 80%, 53%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 80%, 53%) in CSS?
As HSL: color: hsl(299, 80%, 53%); — As HEX: color: #E427E7; — As RGB: color: rgb(228, 39, 231); — Tailwind CSS: bg-[hsl(299,80%,53%)] — CSS variable: --color-primary: hsl(299, 80%, 53%);