#af2be8 ≈ Electric Purple
#af2be8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 16.86% green and 90.98% blue; printed in CMYK it uses 24.57% cyan, 81.47% magenta, 0% yellow and 9.02% black. Its hue angle is 281.9°, with 80.43% saturation and 53.92% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.34.
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.1667 |
Shades
#af2be8 mixed progressively with black.
Tints
#af2be8 mixed progressively with white.
Tones
#af2be8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2be8 {
color: #af2be8;
}
.bg-af2be8 {
background-color: #af2be8;
color: #ffffff;
}
.border-af2be8 {
border: 2px solid #af2be8;
}
:root {
--color-primary: #af2be8;
--color-primary-rgb: 175 43 232;
--color-primary-hsl: 282 80% 54%;
}
.gradient-af2be8 {
background: linear-gradient(135deg, #af2be8, #e82bc3);
}
.shadow-af2be8 {
box-shadow: 0 8px 24px rgb(175 43 232 / 0.35);
}
Electric Purple
#af2be8 rgb(175, 43, 232) hsl(282, 80%, 54%) Electric Purple
#64e82b rgb(100, 232, 43) hsl(102, 80%, 54%) Harlequin
#e8af2b rgb(232, 175, 43) hsl(42, 80%, 54%) Goldenrod
#2be8af rgb(43, 232, 175) hsl(162, 80%, 54%) Caribbean Green