#af01fb ≈ Vivid Violet
#af01fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 0.39% green and 98.43% blue; printed in CMYK it uses 30.28% cyan, 99.6% magenta, 0% yellow and 1.57% black. Its hue angle is 281.76°, with 99.21% saturation and 49.41% 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.98:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.75.
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.161 |
Shades
#af01fb mixed progressively with black.
Tints
#af01fb mixed progressively with white.
Tones
#af01fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af01fb {
color: #af01fb;
}
.bg-af01fb {
background-color: #af01fb;
color: #ffffff;
}
.border-af01fb {
border: 2px solid #af01fb;
}
:root {
--color-primary: #af01fb;
--color-primary-rgb: 175 1 251;
--color-primary-hsl: 282 99% 49%;
}
.gradient-af01fb {
background: linear-gradient(135deg, #af01fb, #fb01ca);
}
.shadow-af01fb {
box-shadow: 0 8px 24px rgb(175 1 251 / 0.35);
}
Vivid Violet
#af01fb rgb(175, 1, 251) hsl(282, 99%, 49%) Vivid Violet
#4dfb01 rgb(77, 251, 1) hsl(102, 99%, 49%) Harlequin
#fbaf01 rgb(251, 175, 1) hsl(42, 99%, 49%) Orange
#01fbaf rgb(1, 251, 175) hsl(162, 99%, 49%) Medium Spring Green