#dc02ff ≈ Electric Purple
#dc02ff 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 100% blue; printed in CMYK it uses 13.73% cyan, 99.22% magenta, 0% yellow and 0% black. Its hue angle is 291.7°, with 100% saturation and 50.39% 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.5: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.2248 |
Shades
#dc02ff mixed progressively with black.
Tints
#dc02ff mixed progressively with white.
Tones
#dc02ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc02ff {
color: #dc02ff;
}
.bg-dc02ff {
background-color: #dc02ff;
color: #000000;
}
.border-dc02ff {
border: 2px solid #dc02ff;
}
:root {
--color-primary: #dc02ff;
--color-primary-rgb: 220 2 255;
--color-primary-hsl: 292 100% 50%;
}
.gradient-dc02ff {
background: linear-gradient(135deg, #dc02ff, #ff02a3);
}
.shadow-dc02ff {
box-shadow: 0 8px 24px rgb(220 2 255 / 0.35);
}
Electric Purple
#dc02ff rgb(220, 2, 255) hsl(292, 100%, 50%) Electric Purple
#25ff02 rgb(37, 255, 2) hsl(112, 100%, 50%) Lime
#ffdc02 rgb(255, 220, 2) hsl(52, 100%, 50%) Golden Yellow
#02ffdc rgb(2, 255, 220) hsl(172, 100%, 50%) Turquoise Blue