#d520fa ≈ Electric Purple
#d520fa 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 98.04% blue; printed in CMYK it uses 14.8% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 289.82°, with 95.61% saturation and 55.29% 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.42: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 | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2208 |
Shades
#d520fa mixed progressively with black.
Tints
#d520fa mixed progressively with white.
Tones
#d520fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d520fa {
color: #d520fa;
}
.bg-d520fa {
background-color: #d520fa;
color: #000000;
}
.border-d520fa {
border: 2px solid #d520fa;
}
:root {
--color-primary: #d520fa;
--color-primary-rgb: 213 32 250;
--color-primary-hsl: 290 96% 55%;
}
.gradient-d520fa {
background: linear-gradient(135deg, #d520fa, #fa20b2);
}
.shadow-d520fa {
box-shadow: 0 8px 24px rgb(213 32 250 / 0.35);
}
Electric Purple
#d520fa rgb(213, 32, 250) hsl(290, 96%, 55%) Electric Purple
#45fa20 rgb(69, 250, 32) hsl(110, 96%, 55%) Neon Green
#fad520 rgb(250, 213, 32) hsl(50, 96%, 55%) Gold
#20fad5 rgb(32, 250, 213) hsl(170, 96%, 55%) Aquamarine