#cf04d7 ≈ Electric Purple
#cf04d7 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 84.31% blue; printed in CMYK it uses 3.72% cyan, 98.14% magenta, 0% yellow and 15.69% black. Its hue angle is 297.73°, with 96.35% saturation and 42.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 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1826 |
Shades
#cf04d7 mixed progressively with black.
Tints
#cf04d7 mixed progressively with white.
Tones
#cf04d7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf04d7 {
color: #cf04d7;
}
.bg-cf04d7 {
background-color: #cf04d7;
color: #000000;
}
.border-cf04d7 {
border: 2px solid #cf04d7;
}
:root {
--color-primary: #cf04d7;
--color-primary-rgb: 207 4 215;
--color-primary-hsl: 298 96% 43%;
}
.gradient-cf04d7 {
background: linear-gradient(135deg, #cf04d7, #d70475);
}
.shadow-cf04d7 {
box-shadow: 0 8px 24px rgb(207 4 215 / 0.35);
}
Electric Purple
#cf04d7 rgb(207, 4, 215) hsl(298, 96%, 43%) Electric Purple
#0cd704 rgb(12, 215, 4) hsl(118, 96%, 43%) Lime Green
#d7cf04 rgb(215, 207, 4) hsl(58, 96%, 43%) Citrine
#04d7cf rgb(4, 215, 207) hsl(178, 96%, 43%) Medium Turquoise