#cf12fb ≈ Electric Purple
#cf12fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 7.06% green and 98.43% blue; printed in CMYK it uses 17.53% cyan, 92.83% magenta, 0% yellow and 1.57% black. Its hue angle is 288.67°, with 96.68% saturation and 52.75% 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.13:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.39.
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.2066 |
Shades
#cf12fb mixed progressively with black.
Tints
#cf12fb mixed progressively with white.
Tones
#cf12fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf12fb {
color: #cf12fb;
}
.bg-cf12fb {
background-color: #cf12fb;
color: #000000;
}
.border-cf12fb {
border: 2px solid #cf12fb;
}
:root {
--color-primary: #cf12fb;
--color-primary-rgb: 207 18 251;
--color-primary-hsl: 289 97% 53%;
}
.gradient-cf12fb {
background: linear-gradient(135deg, #cf12fb, #fb12b3);
}
.shadow-cf12fb {
box-shadow: 0 8px 24px rgb(207 18 251 / 0.35);
}
Electric Purple
#cf12fb rgb(207, 18, 251) hsl(289, 97%, 53%) Electric Purple
#3efb12 rgb(62, 251, 18) hsl(109, 97%, 53%) Neon Green
#fbcf12 rgb(251, 207, 18) hsl(49, 97%, 53%) Cyber Yellow
#12fbcf rgb(18, 251, 207) hsl(169, 97%, 53%) Aquamarine