#af12fa ≈ Electric Purple
#af12fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 7.06% green and 98.04% blue; printed in CMYK it uses 30% cyan, 92.8% magenta, 0% yellow and 1.96% black. Its hue angle is 280.6°, with 95.87% saturation and 52.55% 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.9:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.71.
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.1645 |
Shades
#af12fa mixed progressively with black.
Tints
#af12fa mixed progressively with white.
Tones
#af12fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af12fa {
color: #af12fa;
}
.bg-af12fa {
background-color: #af12fa;
color: #ffffff;
}
.border-af12fa {
border: 2px solid #af12fa;
}
:root {
--color-primary: #af12fa;
--color-primary-rgb: 175 18 250;
--color-primary-hsl: 281 96% 53%;
}
.gradient-af12fa {
background: linear-gradient(135deg, #af12fa, #fa12d1);
}
.shadow-af12fa {
box-shadow: 0 8px 24px rgb(175 18 250 / 0.35);
}
Electric Purple
#af12fa rgb(175, 18, 250) hsl(281, 96%, 53%) Electric Purple
#5dfa12 rgb(93, 250, 18) hsl(101, 96%, 53%) Harlequin
#faaf12 rgb(250, 175, 18) hsl(41, 96%, 53%) Marigold
#12faaf rgb(18, 250, 175) hsl(161, 96%, 53%) Medium Spring Green