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