#cf02df ≈ Electric Purple
#cf02df is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.78% green and 87.45% blue; printed in CMYK it uses 7.17% cyan, 99.1% magenta, 0% yellow and 12.55% black. Its hue angle is 295.66°, with 98.22% saturation and 44.12% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.25.
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.1864 |
Shades
#cf02df mixed progressively with black.
Tints
#cf02df mixed progressively with white.
Tones
#cf02df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf02df {
color: #cf02df;
}
.bg-cf02df {
background-color: #cf02df;
color: #000000;
}
.border-cf02df {
border: 2px solid #cf02df;
}
:root {
--color-primary: #cf02df;
--color-primary-rgb: 207 2 223;
--color-primary-hsl: 296 98% 44%;
}
.gradient-cf02df {
background: linear-gradient(135deg, #cf02df, #df0280);
}
.shadow-cf02df {
box-shadow: 0 8px 24px rgb(207 2 223 / 0.35);
}
Electric Purple
#cf02df rgb(207, 2, 223) hsl(296, 98%, 44%) Electric Purple
#12df02 rgb(18, 223, 2) hsl(116, 98%, 44%) Lime Green
#dfcf02 rgb(223, 207, 2) hsl(56, 98%, 44%) Citrine
#02dfcf rgb(2, 223, 207) hsl(176, 98%, 44%) Turquoise