#cc0dfa ≈ Electric Purple
#cc0dfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 5.1% green and 98.04% blue; printed in CMYK it uses 18.4% cyan, 94.8% magenta, 0% yellow and 1.96% black. Its hue angle is 288.35°, with 95.95% saturation and 51.57% 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.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.71.
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.2003 |
Shades
#cc0dfa mixed progressively with black.
Tints
#cc0dfa mixed progressively with white.
Tones
#cc0dfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0dfa {
color: #cc0dfa;
}
.bg-cc0dfa {
background-color: #cc0dfa;
color: #000000;
}
.border-cc0dfa {
border: 2px solid #cc0dfa;
}
:root {
--color-primary: #cc0dfa;
--color-primary-rgb: 204 13 250;
--color-primary-hsl: 288 96% 52%;
}
.gradient-cc0dfa {
background: linear-gradient(135deg, #cc0dfa, #fa0db2);
}
.shadow-cc0dfa {
box-shadow: 0 8px 24px rgb(204 13 250 / 0.35);
}
Electric Purple
#cc0dfa rgb(204, 13, 250) hsl(288, 96%, 52%) Electric Purple
#3bfa0d rgb(59, 250, 13) hsl(108, 96%, 52%) Neon Green
#facc0d rgb(250, 204, 13) hsl(48, 96%, 52%) Jonquil
#0dfacc rgb(13, 250, 204) hsl(168, 96%, 52%) Aquamarine