#cc04dc ≈ Electric Purple
#cc04dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 1.57% green and 86.27% blue; printed in CMYK it uses 7.27% cyan, 98.18% magenta, 0% yellow and 13.73% black. Its hue angle is 295.56°, with 96.43% saturation and 43.92% 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 4.62:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.31.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1809 |
Shades
#cc04dc mixed progressively with black.
Tints
#cc04dc mixed progressively with white.
Tones
#cc04dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc04dc {
color: #cc04dc;
}
.bg-cc04dc {
background-color: #cc04dc;
color: #000000;
}
.border-cc04dc {
border: 2px solid #cc04dc;
}
:root {
--color-primary: #cc04dc;
--color-primary-rgb: 204 4 220;
--color-primary-hsl: 296 96% 44%;
}
.gradient-cc04dc {
background: linear-gradient(135deg, #cc04dc, #dc0480);
}
.shadow-cc04dc {
box-shadow: 0 8px 24px rgb(204 4 220 / 0.35);
}
Electric Purple
#cc04dc rgb(204, 4, 220) hsl(296, 96%, 44%) Electric Purple
#14dc04 rgb(20, 220, 4) hsl(116, 96%, 44%) Lime Green
#dccc04 rgb(220, 204, 4) hsl(56, 96%, 44%) Citrine
#04dccc rgb(4, 220, 204) hsl(176, 96%, 44%) Turquoise