#af1ff6 ≈ Electric Purple
#af1ff6 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 96.47% blue; printed in CMYK it uses 28.86% cyan, 87.4% magenta, 0% yellow and 3.53% black. Its hue angle is 280.19°, with 92.27% saturation and 54.31% 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.83: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.1675 |
Shades
#af1ff6 mixed progressively with black.
Tints
#af1ff6 mixed progressively with white.
Tones
#af1ff6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af1ff6 {
color: #af1ff6;
}
.bg-af1ff6 {
background-color: #af1ff6;
color: #ffffff;
}
.border-af1ff6 {
border: 2px solid #af1ff6;
}
:root {
--color-primary: #af1ff6;
--color-primary-rgb: 175 31 246;
--color-primary-hsl: 280 92% 54%;
}
.gradient-af1ff6 {
background: linear-gradient(135deg, #af1ff6, #f61fd1);
}
.shadow-af1ff6 {
box-shadow: 0 8px 24px rgb(175 31 246 / 0.35);
}
Electric Purple
#af1ff6 rgb(175, 31, 246) hsl(280, 92%, 54%) Electric Purple
#66f61f rgb(102, 246, 31) hsl(100, 92%, 54%) Lawn Green
#f6af1f rgb(246, 175, 31) hsl(40, 92%, 54%) Marigold
#1ff6af rgb(31, 246, 175) hsl(160, 92%, 54%) Medium Spring Green