#8a42eb ≈ Blue Violet
#8a42eb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 25.88% green and 92.16% blue; printed in CMYK it uses 41.28% cyan, 71.91% magenta, 0% yellow and 7.84% black. Its hue angle is 265.56°, with 80.86% saturation and 59.02% 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.17:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.2.
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.153 |
Shades
#8a42eb mixed progressively with black.
Tints
#8a42eb mixed progressively with white.
Tones
#8a42eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a42eb {
color: #8a42eb;
}
.bg-8a42eb {
background-color: #8a42eb;
color: #ffffff;
}
.border-8a42eb {
border: 2px solid #8a42eb;
}
:root {
--color-primary: #8a42eb;
--color-primary-rgb: 138 66 235;
--color-primary-hsl: 266 81% 59%;
}
.gradient-8a42eb {
background: linear-gradient(135deg, #8a42eb, #de42eb);
}
.shadow-8a42eb {
box-shadow: 0 8px 24px rgb(138 66 235 / 0.35);
}
Blue Violet
#8a42eb rgb(138, 66, 235) hsl(266, 81%, 59%) Blue Violet
#a3eb42 rgb(163, 235, 66) hsl(86, 81%, 59%) Inchworm
#eb8a42 rgb(235, 138, 66) hsl(26, 81%, 59%) Cadmium Orange
#42eb8a rgb(66, 235, 138) hsl(146, 81%, 59%) Medium Spring Green