#797ab2 ≈ Purple Mountain Majesty
#797ab2 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 47.84% green and 69.8% blue; printed in CMYK it uses 32.02% cyan, 31.46% magenta, 0% yellow and 30.2% black. Its hue angle is 238.95°, with 27.01% saturation and 58.63% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.24:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.06.
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.212 |
Shades
#797ab2 mixed progressively with black.
Tints
#797ab2 mixed progressively with white.
Tones
#797ab2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797ab2 {
color: #797ab2;
}
.bg-797ab2 {
background-color: #797ab2;
color: #000000;
}
.border-797ab2 {
border: 2px solid #797ab2;
}
:root {
--color-primary: #797ab2;
--color-primary-rgb: 121 122 178;
--color-primary-hsl: 239 27% 59%;
}
.gradient-797ab2 {
background: linear-gradient(135deg, #797ab2, #9579b2);
}
.shadow-797ab2 {
box-shadow: 0 8px 24px rgb(121 122 178 / 0.35);
}
Purple Mountain Majesty
#797ab2 rgb(121, 122, 178) hsl(239, 27%, 59%) Purple Mountain Majesty
#b2b179 rgb(178, 177, 121) hsl(59, 27%, 59%) Sage
#b2797a rgb(178, 121, 122) hsl(359, 27%, 59%) Old Rose
#7ab279 rgb(122, 178, 121) hsl(119, 27%, 59%) Dark Sea Green