#a402eb ≈ Vivid Violet
#a402eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 64.31% red, 0.78% green and 92.16% blue; printed in CMYK it uses 30.21% cyan, 99.15% magenta, 0% yellow and 7.84% black. Its hue angle is 281.72°, with 98.31% saturation and 46.47% 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.55:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.58.
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.1393 |
Shades
#a402eb mixed progressively with black.
Tints
#a402eb mixed progressively with white.
Tones
#a402eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a402eb {
color: #a402eb;
}
.bg-a402eb {
background-color: #a402eb;
color: #ffffff;
}
.border-a402eb {
border: 2px solid #a402eb;
}
:root {
--color-primary: #a402eb;
--color-primary-rgb: 164 2 235;
--color-primary-hsl: 282 98% 46%;
}
.gradient-a402eb {
background: linear-gradient(135deg, #a402eb, #eb02bd);
}
.shadow-a402eb {
box-shadow: 0 8px 24px rgb(164 2 235 / 0.35);
}
Vivid Violet
#a402eb rgb(164, 2, 235) hsl(282, 98%, 46%) Vivid Violet
#49eb02 rgb(73, 235, 2) hsl(102, 98%, 46%) Harlequin
#eba402 rgb(235, 164, 2) hsl(42, 98%, 46%) Marigold
#02eba4 rgb(2, 235, 164) hsl(162, 98%, 46%) Medium Spring Green