#af0fef ≈ Vivid Violet
#af0fef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 5.88% green and 93.73% blue; printed in CMYK it uses 26.78% cyan, 93.72% magenta, 0% yellow and 6.27% black. Its hue angle is 282.86°, with 88.19% saturation and 49.8% 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 5.08:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.41.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1569 |
Shades
#af0fef mixed progressively with black.
Tints
#af0fef mixed progressively with white.
Tones
#af0fef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af0fef {
color: #af0fef;
}
.bg-af0fef {
background-color: #af0fef;
color: #ffffff;
}
.border-af0fef {
border: 2px solid #af0fef;
}
:root {
--color-primary: #af0fef;
--color-primary-rgb: 175 15 239;
--color-primary-hsl: 283 88% 50%;
}
.gradient-af0fef {
background: linear-gradient(135deg, #af0fef, #ef0fbf);
}
.shadow-af0fef {
box-shadow: 0 8px 24px rgb(175 15 239 / 0.35);
}
Vivid Violet
#af0fef rgb(175, 15, 239) hsl(283, 88%, 50%) Vivid Violet
#4fef0f rgb(79, 239, 15) hsl(103, 88%, 50%) Harlequin
#efaf0f rgb(239, 175, 15) hsl(43, 88%, 50%) Goldenrod
#0fefaf rgb(15, 239, 175) hsl(163, 88%, 50%) Medium Spring Green