#a331ef ≈ Vivid Violet
#a331ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 63.92% red, 19.22% green and 93.73% blue; printed in CMYK it uses 31.8% cyan, 79.5% magenta, 0% yellow and 6.27% black. Its hue angle is 276°, with 85.59% saturation and 56.47% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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 3.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1622 |
Shades
#a331ef mixed progressively with black.
Tints
#a331ef mixed progressively with white.
Tones
#a331ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a331ef {
color: #a331ef;
}
.bg-a331ef {
background-color: #a331ef;
color: #ffffff;
}
.border-a331ef {
border: 2px solid #a331ef;
}
:root {
--color-primary: #a331ef;
--color-primary-rgb: 163 49 239;
--color-primary-hsl: 276 86% 56%;
}
.gradient-a331ef {
background: linear-gradient(135deg, #a331ef, #ef31dc);
}
.shadow-a331ef {
box-shadow: 0 8px 24px rgb(163 49 239 / 0.35);
}
Vivid Violet
#a331ef rgb(163, 49, 239) hsl(276, 86%, 56%) Vivid Violet
#7def31 rgb(125, 239, 49) hsl(96, 86%, 56%) Lawn Green
#efa331 rgb(239, 163, 49) hsl(36, 86%, 56%) Marigold
#31efa3 rgb(49, 239, 163) hsl(156, 86%, 56%) Medium Spring Green