#af1fed ≈ Electric Purple
#af1fed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 12.16% green and 92.94% blue; printed in CMYK it uses 26.16% cyan, 86.92% magenta, 0% yellow and 7.06% black. Its hue angle is 281.94°, with 85.12% 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.95:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.16.
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.1621 |
Shades
#af1fed mixed progressively with black.
Tints
#af1fed mixed progressively with white.
Tones
#af1fed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af1fed {
color: #af1fed;
}
.bg-af1fed {
background-color: #af1fed;
color: #ffffff;
}
.border-af1fed {
border: 2px solid #af1fed;
}
:root {
--color-primary: #af1fed;
--color-primary-rgb: 175 31 237;
--color-primary-hsl: 282 85% 53%;
}
.gradient-af1fed {
background: linear-gradient(135deg, #af1fed, #ed1fc4);
}
.shadow-af1fed {
box-shadow: 0 8px 24px rgb(175 31 237 / 0.35);
}
Electric Purple
#af1fed rgb(175, 31, 237) hsl(282, 85%, 53%) Electric Purple
#5ded1f rgb(93, 237, 31) hsl(102, 85%, 53%) Harlequin
#edaf1f rgb(237, 175, 31) hsl(42, 85%, 53%) Goldenrod
#1fedaf rgb(31, 237, 175) hsl(162, 85%, 53%) Medium Spring Green