#cc2fef ≈ Electric Purple
#cc2fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 18.43% green and 93.73% blue; printed in CMYK it uses 14.64% cyan, 80.33% magenta, 0% yellow and 6.27% black. Its hue angle is 289.06°, with 85.71% saturation and 56.08% 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.22:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.68.
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.211 |
Shades
#cc2fef mixed progressively with black.
Tints
#cc2fef mixed progressively with white.
Tones
#cc2fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2fef {
color: #cc2fef;
}
.bg-cc2fef {
background-color: #cc2fef;
color: #000000;
}
.border-cc2fef {
border: 2px solid #cc2fef;
}
:root {
--color-primary: #cc2fef;
--color-primary-rgb: 204 47 239;
--color-primary-hsl: 289 86% 56%;
}
.gradient-cc2fef {
background: linear-gradient(135deg, #cc2fef, #ef2fb2);
}
.shadow-cc2fef {
box-shadow: 0 8px 24px rgb(204 47 239 / 0.35);
}
Electric Purple
#cc2fef rgb(204, 47, 239) hsl(289, 86%, 56%) Electric Purple
#52ef2f rgb(82, 239, 47) hsl(109, 86%, 56%) Neon Green
#efcc2f rgb(239, 204, 47) hsl(49, 86%, 56%) Jonquil
#2fefcc rgb(47, 239, 204) hsl(169, 86%, 56%) Aquamarine