#af2ff5 ≈ Electric Purple
#af2ff5 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 18.43% green and 96.08% blue; printed in CMYK it uses 28.57% cyan, 80.82% magenta, 0% yellow and 3.92% black. Its hue angle is 278.79°, with 90.83% saturation and 57.25% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.62:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.54.
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.1774 |
Shades
#af2ff5 mixed progressively with black.
Tints
#af2ff5 mixed progressively with white.
Tones
#af2ff5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2ff5 {
color: #af2ff5;
}
.bg-af2ff5 {
background-color: #af2ff5;
color: #ffffff;
}
.border-af2ff5 {
border: 2px solid #af2ff5;
}
:root {
--color-primary: #af2ff5;
--color-primary-rgb: 175 47 245;
--color-primary-hsl: 279 91% 57%;
}
.gradient-af2ff5 {
background: linear-gradient(135deg, #af2ff5, #f52fd8);
}
.shadow-af2ff5 {
box-shadow: 0 8px 24px rgb(175 47 245 / 0.35);
}
Electric Purple
#af2ff5 rgb(175, 47, 245) hsl(279, 91%, 57%) Electric Purple
#75f52f rgb(117, 245, 47) hsl(99, 91%, 57%) Lawn Green
#f5af2f rgb(245, 175, 47) hsl(39, 91%, 57%) Marigold
#2ff5af rgb(47, 245, 175) hsl(159, 91%, 57%) Medium Spring Green