#c004ff ≈ Electric Purple
#c004ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 1.57% green and 100% blue; printed in CMYK it uses 24.71% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 284.94°, with 100% saturation and 50.78% lightness in HSL. It is a cool color, 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 4.7:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.28.
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.1851 |
Shades
#c004ff mixed progressively with black.
Tints
#c004ff mixed progressively with white.
Tones
#c004ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c004ff {
color: #c004ff;
}
.bg-c004ff {
background-color: #c004ff;
color: #000000;
}
.border-c004ff {
border: 2px solid #c004ff;
}
:root {
--color-primary: #c004ff;
--color-primary-rgb: 192 4 255;
--color-primary-hsl: 285 100% 51%;
}
.gradient-c004ff {
background: linear-gradient(135deg, #c004ff, #ff04c0);
}
.shadow-c004ff {
box-shadow: 0 8px 24px rgb(192 4 255 / 0.35);
}
Electric Purple
#c004ff rgb(192, 4, 255) hsl(285, 100%, 51%) Electric Purple
#43ff04 rgb(67, 255, 4) hsl(105, 100%, 51%) Harlequin
#ffc004 rgb(255, 192, 4) hsl(45, 100%, 51%) Amber
#04ffc0 rgb(4, 255, 192) hsl(165, 100%, 51%) Aquamarine