#d520ec ≈ Electric Purple
#d520ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 12.55% green and 92.55% blue; printed in CMYK it uses 9.75% cyan, 86.44% magenta, 0% yellow and 7.45% black. Its hue angle is 293.24°, with 84.3% saturation and 52.55% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2124 |
Shades
#d520ec mixed progressively with black.
Tints
#d520ec mixed progressively with white.
Tones
#d520ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d520ec {
color: #d520ec;
}
.bg-d520ec {
background-color: #d520ec;
color: #000000;
}
.border-d520ec {
border: 2px solid #d520ec;
}
:root {
--color-primary: #d520ec;
--color-primary-rgb: 213 32 236;
--color-primary-hsl: 293 84% 53%;
}
.gradient-d520ec {
background: linear-gradient(135deg, #d520ec, #ec209d);
}
.shadow-d520ec {
box-shadow: 0 8px 24px rgb(213 32 236 / 0.35);
}
Electric Purple
#d520ec rgb(213, 32, 236) hsl(293, 84%, 53%) Electric Purple
#37ec20 rgb(55, 236, 32) hsl(113, 84%, 53%) Lime
#ecd520 rgb(236, 213, 32) hsl(53, 84%, 53%) Citrine
#20ecd5 rgb(32, 236, 213) hsl(173, 84%, 53%) Turquoise