#d504ea ≈ Electric Purple
#d504ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 1.57% green and 91.76% blue; printed in CMYK it uses 8.97% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 294.52°, with 96.64% saturation and 46.67% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 5.03:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2017 |
Shades
#d504ea mixed progressively with black.
Tints
#d504ea mixed progressively with white.
Tones
#d504ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d504ea {
color: #d504ea;
}
.bg-d504ea {
background-color: #d504ea;
color: #000000;
}
.border-d504ea {
border: 2px solid #d504ea;
}
:root {
--color-primary: #d504ea;
--color-primary-rgb: 213 4 234;
--color-primary-hsl: 295 97% 47%;
}
.gradient-d504ea {
background: linear-gradient(135deg, #d504ea, #ea048c);
}
.shadow-d504ea {
box-shadow: 0 8px 24px rgb(213 4 234 / 0.35);
}
Electric Purple
#d504ea rgb(213, 4, 234) hsl(295, 97%, 47%) Electric Purple
#19ea04 rgb(25, 234, 4) hsl(115, 97%, 47%) Lime
#ead504 rgb(234, 213, 4) hsl(55, 97%, 47%) Citrine
#04ead5 rgb(4, 234, 213) hsl(175, 97%, 47%) Turquoise