#cf28ea ≈ Electric Purple
#cf28ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 15.69% green and 91.76% blue; printed in CMYK it uses 11.54% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 291.65°, with 82.2% saturation and 53.73% 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.14:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.01.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2072 |
Shades
#cf28ea mixed progressively with black.
Tints
#cf28ea mixed progressively with white.
Tones
#cf28ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf28ea {
color: #cf28ea;
}
.bg-cf28ea {
background-color: #cf28ea;
color: #000000;
}
.border-cf28ea {
border: 2px solid #cf28ea;
}
:root {
--color-primary: #cf28ea;
--color-primary-rgb: 207 40 234;
--color-primary-hsl: 292 82% 54%;
}
.gradient-cf28ea {
background: linear-gradient(135deg, #cf28ea, #ea28a4);
}
.shadow-cf28ea {
box-shadow: 0 8px 24px rgb(207 40 234 / 0.35);
}
Electric Purple
#cf28ea rgb(207, 40, 234) hsl(292, 82%, 54%) Electric Purple
#43ea28 rgb(67, 234, 40) hsl(112, 82%, 54%) Neon Green
#eacf28 rgb(234, 207, 40) hsl(52, 82%, 54%) Citrine
#28eacf rgb(40, 234, 207) hsl(172, 82%, 54%) Turquoise