#d512fa ≈ Electric Purple
#d512fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 7.06% green and 98.04% blue; printed in CMYK it uses 14.8% cyan, 92.8% magenta, 0% yellow and 1.96% black. Its hue angle is 290.43°, with 95.87% 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.3:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.52.
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.2148 |
Shades
#d512fa mixed progressively with black.
Tints
#d512fa mixed progressively with white.
Tones
#d512fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d512fa {
color: #d512fa;
}
.bg-d512fa {
background-color: #d512fa;
color: #000000;
}
.border-d512fa {
border: 2px solid #d512fa;
}
:root {
--color-primary: #d512fa;
--color-primary-rgb: 213 18 250;
--color-primary-hsl: 290 96% 53%;
}
.gradient-d512fa {
background: linear-gradient(135deg, #d512fa, #fa12ab);
}
.shadow-d512fa {
box-shadow: 0 8px 24px rgb(213 18 250 / 0.35);
}
Electric Purple
#d512fa rgb(213, 18, 250) hsl(290, 96%, 53%) Electric Purple
#37fa12 rgb(55, 250, 18) hsl(110, 96%, 53%) Neon Green
#fad512 rgb(250, 213, 18) hsl(50, 96%, 53%) Gold
#12fad5 rgb(18, 250, 213) hsl(170, 96%, 53%) Aquamarine