#796d9c ≈ Purple Mountain Majesty
#796d9c is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 42.75% green and 61.18% blue; printed in CMYK it uses 22.44% cyan, 30.13% magenta, 0% yellow and 38.82% black. Its hue angle is 255.32°, with 19.18% saturation and 51.96% 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 8.
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.174 |
Shades
#796d9c mixed progressively with black.
Tints
#796d9c mixed progressively with white.
Tones
#796d9c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-796d9c {
color: #796d9c;
}
.bg-796d9c {
background-color: #796d9c;
color: #ffffff;
}
.border-796d9c {
border: 2px solid #796d9c;
}
:root {
--color-primary: #796d9c;
--color-primary-rgb: 121 109 156;
--color-primary-hsl: 255 19% 52%;
}
.gradient-796d9c {
background: linear-gradient(135deg, #796d9c, #906d9c);
}
.shadow-796d9c {
box-shadow: 0 8px 24px rgb(121 109 156 / 0.35);
}
Purple Mountain Majesty
#796d9c rgb(121, 109, 156) hsl(255, 19%, 52%) Purple Mountain Majesty
#909c6d rgb(144, 156, 109) hsl(75, 19%, 52%) Moss Green
#9c796d rgb(156, 121, 109) hsl(15, 19%, 52%) Beaver
#6d9c79 rgb(109, 156, 121) hsl(135, 19%, 52%) Asparagus