#af24ea ≈ Electric Purple
#af24ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 14.12% green and 91.76% blue; printed in CMYK it uses 25.21% cyan, 84.62% magenta, 0% yellow and 8.24% black. Its hue angle is 282.12°, with 82.5% saturation and 52.94% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.28.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1632 |
Shades
#af24ea mixed progressively with black.
Tints
#af24ea mixed progressively with white.
Tones
#af24ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af24ea {
color: #af24ea;
}
.bg-af24ea {
background-color: #af24ea;
color: #ffffff;
}
.border-af24ea {
border: 2px solid #af24ea;
}
:root {
--color-primary: #af24ea;
--color-primary-rgb: 175 36 234;
--color-primary-hsl: 282 83% 53%;
}
.gradient-af24ea {
background: linear-gradient(135deg, #af24ea, #ea24c2);
}
.shadow-af24ea {
box-shadow: 0 8px 24px rgb(175 36 234 / 0.35);
}
Electric Purple
#af24ea rgb(175, 36, 234) hsl(282, 83%, 53%) Electric Purple
#5fea24 rgb(95, 234, 36) hsl(102, 83%, 53%) Harlequin
#eaaf24 rgb(234, 175, 36) hsl(42, 83%, 53%) Goldenrod
#24eaaf rgb(36, 234, 175) hsl(162, 83%, 53%) Medium Spring Green