#8a42e2 ≈ Blue Violet
#8a42e2 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 88.63% blue; printed in CMYK it uses 38.94% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 267°, with 73.39% saturation and 57.25% 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 brand accents. White text on this color reaches a contrast ratio of 5.31:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.71.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1479 |
Shades
#8a42e2 mixed progressively with black.
Tints
#8a42e2 mixed progressively with white.
Tones
#8a42e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a42e2 {
color: #8a42e2;
}
.bg-8a42e2 {
background-color: #8a42e2;
color: #ffffff;
}
.border-8a42e2 {
border: 2px solid #8a42e2;
}
:root {
--color-primary: #8a42e2;
--color-primary-rgb: 138 66 226;
--color-primary-hsl: 267 73% 57%;
}
.gradient-8a42e2 {
background: linear-gradient(135deg, #8a42e2, #da42e2);
}
.shadow-8a42e2 {
box-shadow: 0 8px 24px rgb(138 66 226 / 0.35);
}
Blue Violet
#8a42e2 rgb(138, 66, 226) hsl(267, 73%, 57%) Blue Violet
#9ae242 rgb(154, 226, 66) hsl(87, 73%, 57%) Inchworm
#e28a42 rgb(226, 138, 66) hsl(27, 73%, 57%) Cadmium Orange
#42e28a rgb(66, 226, 138) hsl(147, 73%, 57%) Medium Spring Green