#af02f2 ≈ Vivid Violet
#af02f2 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.78% green and 94.9% blue; printed in CMYK it uses 27.69% cyan, 99.17% magenta, 0% yellow and 5.1% black. Its hue angle is 283.25°, with 98.36% saturation and 47.84% 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.1:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.06.
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.1557 |
Shades
#af02f2 mixed progressively with black.
Tints
#af02f2 mixed progressively with white.
Tones
#af02f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af02f2 {
color: #af02f2;
}
.bg-af02f2 {
background-color: #af02f2;
color: #ffffff;
}
.border-af02f2 {
border: 2px solid #af02f2;
}
:root {
--color-primary: #af02f2;
--color-primary-rgb: 175 2 242;
--color-primary-hsl: 283 98% 48%;
}
.gradient-af02f2 {
background: linear-gradient(135deg, #af02f2, #f202bd);
}
.shadow-af02f2 {
box-shadow: 0 8px 24px rgb(175 2 242 / 0.35);
}
Vivid Violet
#af02f2 rgb(175, 2, 242) hsl(283, 98%, 48%) Vivid Violet
#45f202 rgb(69, 242, 2) hsl(103, 98%, 48%) Harlequin
#f2af02 rgb(242, 175, 2) hsl(43, 98%, 48%) Amber
#02f2af rgb(2, 242, 175) hsl(163, 98%, 48%) Medium Spring Green