#a302ec ≈ Vivid Violet
#a302ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 0.78% green and 92.55% blue; printed in CMYK it uses 30.93% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 281.28°, with 98.32% saturation and 46.67% 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.56:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 2.42.
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.1389 |
Shades
#a302ec mixed progressively with black.
Tints
#a302ec mixed progressively with white.
Tones
#a302ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a302ec {
color: #a302ec;
}
.bg-a302ec {
background-color: #a302ec;
color: #ffffff;
}
.border-a302ec {
border: 2px solid #a302ec;
}
:root {
--color-primary: #a302ec;
--color-primary-rgb: 163 2 236;
--color-primary-hsl: 281 98% 47%;
}
.gradient-a302ec {
background: linear-gradient(135deg, #a302ec, #ec02c0);
}
.shadow-a302ec {
box-shadow: 0 8px 24px rgb(163 2 236 / 0.35);
}
Vivid Violet
#a302ec rgb(163, 2, 236) hsl(281, 98%, 47%) Vivid Violet
#4bec02 rgb(75, 236, 2) hsl(101, 98%, 47%) Harlequin
#eca302 rgb(236, 163, 2) hsl(41, 98%, 47%) Marigold
#02eca3 rgb(2, 236, 163) hsl(161, 98%, 47%) Medium Spring Green