#cf02f2 ≈ Electric Purple
#cf02f2 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 94.9% blue; printed in CMYK it uses 14.46% cyan, 99.17% magenta, 0% yellow and 5.1% black. Its hue angle is 291.25°, with 98.36% saturation and 47.84% 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.94:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.43.
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.1972 |
Shades
#cf02f2 mixed progressively with black.
Tints
#cf02f2 mixed progressively with white.
Tones
#cf02f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf02f2 {
color: #cf02f2;
}
.bg-cf02f2 {
background-color: #cf02f2;
color: #000000;
}
.border-cf02f2 {
border: 2px solid #cf02f2;
}
:root {
--color-primary: #cf02f2;
--color-primary-rgb: 207 2 242;
--color-primary-hsl: 291 98% 48%;
}
.gradient-cf02f2 {
background: linear-gradient(135deg, #cf02f2, #f2029d);
}
.shadow-cf02f2 {
box-shadow: 0 8px 24px rgb(207 2 242 / 0.35);
}
Electric Purple
#cf02f2 rgb(207, 2, 242) hsl(291, 98%, 48%) Electric Purple
#25f202 rgb(37, 242, 2) hsl(111, 98%, 48%) Lime
#f2cf02 rgb(242, 207, 2) hsl(51, 98%, 48%) Jonquil
#02f2cf rgb(2, 242, 207) hsl(171, 98%, 48%) Aquamarine