#af04fc ≈ Vivid Violet
#af04fc 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 98.82% blue; printed in CMYK it uses 30.56% cyan, 98.41% magenta, 0% yellow and 1.18% black. Its hue angle is 281.37°, with 97.64% saturation and 50.2% 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.95:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.8.
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.1623 |
Shades
#af04fc mixed progressively with black.
Tints
#af04fc mixed progressively with white.
Tones
#af04fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af04fc {
color: #af04fc;
}
.bg-af04fc {
background-color: #af04fc;
color: #ffffff;
}
.border-af04fc {
border: 2px solid #af04fc;
}
:root {
--color-primary: #af04fc;
--color-primary-rgb: 175 4 252;
--color-primary-hsl: 281 98% 50%;
}
.gradient-af04fc {
background: linear-gradient(135deg, #af04fc, #fc04cd);
}
.shadow-af04fc {
box-shadow: 0 8px 24px rgb(175 4 252 / 0.35);
}
Vivid Violet
#af04fc rgb(175, 4, 252) hsl(281, 98%, 50%) Vivid Violet
#51fc04 rgb(81, 252, 4) hsl(101, 98%, 50%) Harlequin
#fcaf04 rgb(252, 175, 4) hsl(41, 98%, 50%) Orange
#04fcaf rgb(4, 252, 175) hsl(161, 98%, 50%) Medium Spring Green