#a304fa ≈ Vivid Violet
#a304fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 63.92% red, 1.57% green and 98.04% blue; printed in CMYK it uses 34.8% cyan, 98.4% magenta, 0% yellow and 1.96% black. Its hue angle is 278.78°, with 96.85% saturation and 49.8% 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 5.31:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 0.86.
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.1478 |
Shades
#a304fa mixed progressively with black.
Tints
#a304fa mixed progressively with white.
Tones
#a304fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a304fa {
color: #a304fa;
}
.bg-a304fa {
background-color: #a304fa;
color: #ffffff;
}
.border-a304fa {
border: 2px solid #a304fa;
}
:root {
--color-primary: #a304fa;
--color-primary-rgb: 163 4 250;
--color-primary-hsl: 279 97% 50%;
}
.gradient-a304fa {
background: linear-gradient(135deg, #a304fa, #fa04d6);
}
.shadow-a304fa {
box-shadow: 0 8px 24px rgb(163 4 250 / 0.35);
}
Vivid Violet
#a304fa rgb(163, 4, 250) hsl(279, 97%, 50%) Vivid Violet
#5bfa04 rgb(91, 250, 4) hsl(99, 97%, 50%) Harlequin
#faa304 rgb(250, 163, 4) hsl(39, 97%, 50%) Orange
#04faa3 rgb(4, 250, 163) hsl(159, 97%, 50%) Medium Spring Green