#7a42c8 ≈ Blue Violet
#7a42c8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 47.84% red, 25.88% green and 78.43% blue; printed in CMYK it uses 39% cyan, 67% magenta, 0% yellow and 21.57% black. Its hue angle is 265.07°, with 54.92% saturation and 52.16% 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 6.1:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 4.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.122 |
Shades
#7a42c8 mixed progressively with black.
Tints
#7a42c8 mixed progressively with white.
Tones
#7a42c8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7a42c8 {
color: #7a42c8;
}
.bg-7a42c8 {
background-color: #7a42c8;
color: #ffffff;
}
.border-7a42c8 {
border: 2px solid #7a42c8;
}
:root {
--color-primary: #7a42c8;
--color-primary-rgb: 122 66 200;
--color-primary-hsl: 265 55% 52%;
}
.gradient-7a42c8 {
background: linear-gradient(135deg, #7a42c8, #bd42c8);
}
.shadow-7a42c8 {
box-shadow: 0 8px 24px rgb(122 66 200 / 0.35);
}
Blue Violet
#7a42c8 rgb(122, 66, 200) hsl(265, 55%, 52%) Blue Violet
#90c842 rgb(144, 200, 66) hsl(85, 55%, 52%) Yellow Green
#c87a42 rgb(200, 122, 66) hsl(25, 55%, 52%) Bronze
#42c87a rgb(66, 200, 122) hsl(145, 55%, 52%) Emerald