#cc0fff ≈ Electric Purple
#cc0fff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 5.88% green and 100% blue; printed in CMYK it uses 20% cyan, 94.12% magenta, 0% yellow and 0% black. Its hue angle is 287.25°, with 100% saturation and 52.94% 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.08:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.75.
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.204 |
Shades
#cc0fff mixed progressively with black.
Tints
#cc0fff mixed progressively with white.
Tones
#cc0fff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0fff {
color: #cc0fff;
}
.bg-cc0fff {
background-color: #cc0fff;
color: #000000;
}
.border-cc0fff {
border: 2px solid #cc0fff;
}
:root {
--color-primary: #cc0fff;
--color-primary-rgb: 204 15 255;
--color-primary-hsl: 287 100% 53%;
}
.gradient-cc0fff {
background: linear-gradient(135deg, #cc0fff, #ff0fba);
}
.shadow-cc0fff {
box-shadow: 0 8px 24px rgb(204 15 255 / 0.35);
}
Electric Purple
#cc0fff rgb(204, 15, 255) hsl(287, 100%, 53%) Electric Purple
#42ff0f rgb(66, 255, 15) hsl(107, 100%, 53%) Harlequin
#ffcc0f rgb(255, 204, 15) hsl(47, 100%, 53%) Sunglow
#0fffcc rgb(15, 255, 204) hsl(167, 100%, 53%) Aquamarine