#8a7a9f ≈ Purple Mountain Majesty
#8a7a9f is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 47.84% green and 62.35% blue; printed in CMYK it uses 13.21% cyan, 23.27% magenta, 0% yellow and 37.65% black. Its hue angle is 265.95°, with 16.16% saturation and 55.1% 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. Black text on this color reaches a contrast ratio of 5.37:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2183 |
Shades
#8a7a9f mixed progressively with black.
Tints
#8a7a9f mixed progressively with white.
Tones
#8a7a9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7a9f {
color: #8a7a9f;
}
.bg-8a7a9f {
background-color: #8a7a9f;
color: #000000;
}
.border-8a7a9f {
border: 2px solid #8a7a9f;
}
:root {
--color-primary: #8a7a9f;
--color-primary-rgb: 138 122 159;
--color-primary-hsl: 266 16% 55%;
}
.gradient-8a7a9f {
background: linear-gradient(135deg, #8a7a9f, #9d7a9f);
}
.shadow-8a7a9f {
box-shadow: 0 8px 24px rgb(138 122 159 / 0.35);
}
Purple Mountain Majesty
#8a7a9f rgb(138, 122, 159) hsl(266, 16%, 55%) Purple Mountain Majesty
#8f9f7a rgb(143, 159, 122) hsl(86, 16%, 55%) Moss Green
#9f8a7a rgb(159, 138, 122) hsl(26, 16%, 55%) Beaver
#7a9f8a rgb(122, 159, 138) hsl(146, 16%, 55%) Xanadu