#cf04ff ≈ Electric Purple
#cf04ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.57% green and 100% blue; printed in CMYK it uses 18.82% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 288.53°, with 100% saturation and 50.78% 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.11:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.09.
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.2057 |
Shades
#cf04ff mixed progressively with black.
Tints
#cf04ff mixed progressively with white.
Tones
#cf04ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf04ff {
color: #cf04ff;
}
.bg-cf04ff {
background-color: #cf04ff;
color: #000000;
}
.border-cf04ff {
border: 2px solid #cf04ff;
}
:root {
--color-primary: #cf04ff;
--color-primary-rgb: 207 4 255;
--color-primary-hsl: 289 100% 51%;
}
.gradient-cf04ff {
background: linear-gradient(135deg, #cf04ff, #ff04b1);
}
.shadow-cf04ff {
box-shadow: 0 8px 24px rgb(207 4 255 / 0.35);
}
Electric Purple
#cf04ff rgb(207, 4, 255) hsl(289, 100%, 51%) Electric Purple
#34ff04 rgb(52, 255, 4) hsl(109, 100%, 51%) Neon Green
#ffcf04 rgb(255, 207, 4) hsl(49, 100%, 51%) Cyber Yellow
#04ffcf rgb(4, 255, 207) hsl(169, 100%, 51%) Aquamarine