#af04fe ≈ Vivid Violet
#af04fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 1.57% green and 99.61% blue; printed in CMYK it uses 31.1% cyan, 98.43% magenta, 0% yellow and 0.39% black. Its hue angle is 281.04°, with 99.21% saturation and 50.59% 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.92:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.82.
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.1636 |
Shades
#af04fe mixed progressively with black.
Tints
#af04fe mixed progressively with white.
Tones
#af04fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af04fe {
color: #af04fe;
}
.bg-af04fe {
background-color: #af04fe;
color: #ffffff;
}
.border-af04fe {
border: 2px solid #af04fe;
}
:root {
--color-primary: #af04fe;
--color-primary-rgb: 175 4 254;
--color-primary-hsl: 281 99% 51%;
}
.gradient-af04fe {
background: linear-gradient(135deg, #af04fe, #fe04d0);
}
.shadow-af04fe {
box-shadow: 0 8px 24px rgb(175 4 254 / 0.35);
}
Vivid Violet
#af04fe rgb(175, 4, 254) hsl(281, 99%, 51%) Vivid Violet
#53fe04 rgb(83, 254, 4) hsl(101, 99%, 51%) Harlequin
#feaf04 rgb(254, 175, 4) hsl(41, 99%, 51%) Orange
#04feaf rgb(4, 254, 175) hsl(161, 99%, 51%) Medium Spring Green