#786baa ≈ Purple Mountain Majesty
#786baa is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.06% red, 41.96% green and 66.67% blue; printed in CMYK it uses 29.41% cyan, 37.06% magenta, 0% yellow and 33.33% black. Its hue angle is 252.38°, with 27.04% saturation and 54.31% 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 4.69:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1741 |
Shades
#786baa mixed progressively with black.
Tints
#786baa mixed progressively with white.
Tones
#786baa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-786baa {
color: #786baa;
}
.bg-786baa {
background-color: #786baa;
color: #ffffff;
}
.border-786baa {
border: 2px solid #786baa;
}
:root {
--color-primary: #786baa;
--color-primary-rgb: 120 107 170;
--color-primary-hsl: 252 27% 54%;
}
.gradient-786baa {
background: linear-gradient(135deg, #786baa, #976baa);
}
.shadow-786baa {
box-shadow: 0 8px 24px rgb(120 107 170 / 0.35);
}
Purple Mountain Majesty
#786baa rgb(120, 107, 170) hsl(252, 27%, 54%) Purple Mountain Majesty
#9daa6b rgb(157, 170, 107) hsl(72, 27%, 54%) Moss Green
#aa786b rgb(170, 120, 107) hsl(12, 27%, 54%) Beaver
#6baa78 rgb(107, 170, 120) hsl(132, 27%, 54%) Medium Sea Green