#8a42dc ≈ Blue Violet
#8a42dc 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 86.27% blue; printed in CMYK it uses 37.27% cyan, 70% magenta, 0% yellow and 13.73% black. Its hue angle is 268.05°, with 68.75% saturation and 56.08% 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.39:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.59.
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.1447 |
Shades
#8a42dc mixed progressively with black.
Tints
#8a42dc mixed progressively with white.
Tones
#8a42dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a42dc {
color: #8a42dc;
}
.bg-8a42dc {
background-color: #8a42dc;
color: #ffffff;
}
.border-8a42dc {
border: 2px solid #8a42dc;
}
:root {
--color-primary: #8a42dc;
--color-primary-rgb: 138 66 220;
--color-primary-hsl: 268 69% 56%;
}
.gradient-8a42dc {
background: linear-gradient(135deg, #8a42dc, #d742dc);
}
.shadow-8a42dc {
box-shadow: 0 8px 24px rgb(138 66 220 / 0.35);
}
Blue Violet
#8a42dc rgb(138, 66, 220) hsl(268, 69%, 56%) Blue Violet
#94dc42 rgb(148, 220, 66) hsl(88, 69%, 56%) Yellow Green
#dc8a42 rgb(220, 138, 66) hsl(28, 69%, 56%) Peru
#42dc8a rgb(66, 220, 138) hsl(148, 69%, 56%) Emerald