#af2bdf ≈ Electric Purple
#af2bdf 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 87.45% blue; printed in CMYK it uses 21.52% cyan, 80.72% magenta, 0% yellow and 12.55% black. Its hue angle is 284°, with 73.77% saturation and 52.16% 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 brand accents. White text on this color reaches a contrast ratio of 4.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1617 |
Shades
#af2bdf mixed progressively with black.
Tints
#af2bdf mixed progressively with white.
Tones
#af2bdf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2bdf {
color: #af2bdf;
}
.bg-af2bdf {
background-color: #af2bdf;
color: #ffffff;
}
.border-af2bdf {
border: 2px solid #af2bdf;
}
:root {
--color-primary: #af2bdf;
--color-primary-rgb: 175 43 223;
--color-primary-hsl: 284 74% 52%;
}
.gradient-af2bdf {
background: linear-gradient(135deg, #af2bdf, #df2bb5);
}
.shadow-af2bdf {
box-shadow: 0 8px 24px rgb(175 43 223 / 0.35);
}
Electric Purple
#af2bdf rgb(175, 43, 223) hsl(284, 74%, 52%) Electric Purple
#5bdf2b rgb(91, 223, 43) hsl(104, 74%, 52%) Lime Green
#dfaf2b rgb(223, 175, 43) hsl(44, 74%, 52%) Meat Brown
#2bdfaf rgb(43, 223, 175) hsl(164, 74%, 52%) Caribbean Green