#cc02cd ≈ Electric Purple
#cc02cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 80.39% blue; printed in CMYK it uses 0.49% cyan, 99.02% magenta, 0% yellow and 19.61% black. Its hue angle is 299.7°, with 98.07% saturation and 40.59% 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. White text on this color reaches a contrast ratio of 4.71:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.36.
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.1729 |
Shades
#cc02cd mixed progressively with black.
Tints
#cc02cd mixed progressively with white.
Tones
#cc02cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc02cd {
color: #cc02cd;
}
.bg-cc02cd {
background-color: #cc02cd;
color: #ffffff;
}
.border-cc02cd {
border: 2px solid #cc02cd;
}
:root {
--color-primary: #cc02cd;
--color-primary-rgb: 204 2 205;
--color-primary-hsl: 300 98% 41%;
}
.gradient-cc02cd {
background: linear-gradient(135deg, #cc02cd, #cd0269);
}
.shadow-cc02cd {
box-shadow: 0 8px 24px rgb(204 2 205 / 0.35);
}
Electric Purple
#cc02cd rgb(204, 2, 205) hsl(300, 98%, 41%) Electric Purple
#03cd02 rgb(3, 205, 2) hsl(120, 98%, 41%) Lime Green
#cdcc02 rgb(205, 204, 2) hsl(60, 98%, 41%) Citrine
#02cdcc rgb(2, 205, 204) hsl(180, 98%, 41%) Robin Egg Blue