#cc2af2 ≈ Electric Purple
#cc2af2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 16.47% green and 94.9% blue; printed in CMYK it uses 15.7% cyan, 82.64% magenta, 0% yellow and 5.1% black. Its hue angle is 288.6°, with 88.5% saturation and 55.69% 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.209 |
Shades
#cc2af2 mixed progressively with black.
Tints
#cc2af2 mixed progressively with white.
Tones
#cc2af2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2af2 {
color: #cc2af2;
}
.bg-cc2af2 {
background-color: #cc2af2;
color: #000000;
}
.border-cc2af2 {
border: 2px solid #cc2af2;
}
:root {
--color-primary: #cc2af2;
--color-primary-rgb: 204 42 242;
--color-primary-hsl: 289 89% 56%;
}
.gradient-cc2af2 {
background: linear-gradient(135deg, #cc2af2, #f22ab4);
}
.shadow-cc2af2 {
box-shadow: 0 8px 24px rgb(204 42 242 / 0.35);
}
Electric Purple
#cc2af2 rgb(204, 42, 242) hsl(289, 89%, 56%) Electric Purple
#50f22a rgb(80, 242, 42) hsl(109, 89%, 56%) Neon Green
#f2cc2a rgb(242, 204, 42) hsl(49, 89%, 56%) Jonquil
#2af2cc rgb(42, 242, 204) hsl(169, 89%, 56%) Aquamarine