#d804fc ≈ Electric Purple
#d804fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 1.57% green and 98.82% blue; printed in CMYK it uses 14.29% cyan, 98.41% magenta, 0% yellow and 1.18% black. Its hue angle is 291.29°, with 97.64% saturation and 50.2% 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.34:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.79.
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.2171 |
Shades
#d804fc mixed progressively with black.
Tints
#d804fc mixed progressively with white.
Tones
#d804fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d804fc {
color: #d804fc;
}
.bg-d804fc {
background-color: #d804fc;
color: #000000;
}
.border-d804fc {
border: 2px solid #d804fc;
}
:root {
--color-primary: #d804fc;
--color-primary-rgb: 216 4 252;
--color-primary-hsl: 291 98% 50%;
}
.gradient-d804fc {
background: linear-gradient(135deg, #d804fc, #fc04a4);
}
.shadow-d804fc {
box-shadow: 0 8px 24px rgb(216 4 252 / 0.35);
}
Electric Purple
#d804fc rgb(216, 4, 252) hsl(291, 98%, 50%) Electric Purple
#28fc04 rgb(40, 252, 4) hsl(111, 98%, 50%) Lime
#fcd804 rgb(252, 216, 4) hsl(51, 98%, 50%) Gold
#04fcd8 rgb(4, 252, 216) hsl(171, 98%, 50%) Aquamarine