#af18ec ≈ Electric Purple
#af18ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 9.41% green and 92.55% blue; printed in CMYK it uses 25.85% cyan, 89.83% magenta, 0% yellow and 7.45% black. Its hue angle is 282.74°, with 84.8% saturation and 50.98% 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 5.04:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.47.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1582 |
Shades
#af18ec mixed progressively with black.
Tints
#af18ec mixed progressively with white.
Tones
#af18ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af18ec {
color: #af18ec;
}
.bg-af18ec {
background-color: #af18ec;
color: #ffffff;
}
.border-af18ec {
border: 2px solid #af18ec;
}
:root {
--color-primary: #af18ec;
--color-primary-rgb: 175 24 236;
--color-primary-hsl: 283 85% 51%;
}
.gradient-af18ec {
background: linear-gradient(135deg, #af18ec, #ec18bf);
}
.shadow-af18ec {
box-shadow: 0 8px 24px rgb(175 24 236 / 0.35);
}
Electric Purple
#af18ec rgb(175, 24, 236) hsl(283, 85%, 51%) Electric Purple
#55ec18 rgb(85, 236, 24) hsl(103, 85%, 51%) Harlequin
#ecaf18 rgb(236, 175, 24) hsl(43, 85%, 51%) Goldenrod
#18ecaf rgb(24, 236, 175) hsl(163, 85%, 51%) Medium Spring Green