#dc02fe ≈ Electric Purple
#dc02fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 0.78% green and 99.61% blue; printed in CMYK it uses 13.39% cyan, 99.21% magenta, 0% yellow and 0.39% black. Its hue angle is 291.9°, with 99.21% 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.48:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.5.
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.2241 |
Shades
#dc02fe mixed progressively with black.
Tints
#dc02fe mixed progressively with white.
Tones
#dc02fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc02fe {
color: #dc02fe;
}
.bg-dc02fe {
background-color: #dc02fe;
color: #000000;
}
.border-dc02fe {
border: 2px solid #dc02fe;
}
:root {
--color-primary: #dc02fe;
--color-primary-rgb: 220 2 254;
--color-primary-hsl: 292 99% 50%;
}
.gradient-dc02fe {
background: linear-gradient(135deg, #dc02fe, #fe02a2);
}
.shadow-dc02fe {
box-shadow: 0 8px 24px rgb(220 2 254 / 0.35);
}
Electric Purple
#dc02fe rgb(220, 2, 254) hsl(292, 99%, 50%) Electric Purple
#24fe02 rgb(36, 254, 2) hsl(112, 99%, 50%) Lime
#fedc02 rgb(254, 220, 2) hsl(52, 99%, 50%) Golden Yellow
#02fedc rgb(2, 254, 220) hsl(172, 99%, 50%) Turquoise Blue