#af2bf0 ≈ Electric Purple
#af2bf0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 16.86% green and 94.12% blue; printed in CMYK it uses 27.08% cyan, 82.08% magenta, 0% yellow and 5.88% black. Its hue angle is 280.2°, with 86.78% saturation and 55.49% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.7.
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.1713 |
Shades
#af2bf0 mixed progressively with black.
Tints
#af2bf0 mixed progressively with white.
Tones
#af2bf0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2bf0 {
color: #af2bf0;
}
.bg-af2bf0 {
background-color: #af2bf0;
color: #ffffff;
}
.border-af2bf0 {
border: 2px solid #af2bf0;
}
:root {
--color-primary: #af2bf0;
--color-primary-rgb: 175 43 240;
--color-primary-hsl: 280 87% 55%;
}
.gradient-af2bf0 {
background: linear-gradient(135deg, #af2bf0, #f02bcf);
}
.shadow-af2bf0 {
box-shadow: 0 8px 24px rgb(175 43 240 / 0.35);
}
Electric Purple
#af2bf0 rgb(175, 43, 240) hsl(280, 87%, 55%) Electric Purple
#6cf02b rgb(108, 240, 43) hsl(100, 87%, 55%) Lawn Green
#f0af2b rgb(240, 175, 43) hsl(40, 87%, 55%) Marigold
#2bf0af rgb(43, 240, 175) hsl(160, 87%, 55%) Medium Spring Green