#af1dfd ≈ Electric Purple
#af1dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 11.37% green and 99.22% blue; printed in CMYK it uses 30.83% cyan, 88.54% magenta, 0% yellow and 0.78% black. Its hue angle is 279.11°, with 98.25% saturation and 55.29% 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.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.38.
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.1708 |
Shades
#af1dfd mixed progressively with black.
Tints
#af1dfd mixed progressively with white.
Tones
#af1dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af1dfd {
color: #af1dfd;
}
.bg-af1dfd {
background-color: #af1dfd;
color: #ffffff;
}
.border-af1dfd {
border: 2px solid #af1dfd;
}
:root {
--color-primary: #af1dfd;
--color-primary-rgb: 175 29 253;
--color-primary-hsl: 279 98% 55%;
}
.gradient-af1dfd {
background: linear-gradient(135deg, #af1dfd, #fd1ddb);
}
.shadow-af1dfd {
box-shadow: 0 8px 24px rgb(175 29 253 / 0.35);
}
Electric Purple
#af1dfd rgb(175, 29, 253) hsl(279, 98%, 55%) Electric Purple
#6bfd1d rgb(107, 253, 29) hsl(99, 98%, 55%) Lawn Green
#fdaf1d rgb(253, 175, 29) hsl(39, 98%, 55%) Orange
#1dfdaf rgb(29, 253, 175) hsl(159, 98%, 55%) Medium Spring Green