#797cb0 ≈ Purple Mountain Majesty
#797cb0 is a color from the blue family, with medium lightness and muted saturation. In the RGB model it is made of 47.45% red, 48.63% green and 69.02% blue; printed in CMYK it uses 31.25% cyan, 29.55% magenta, 0% yellow and 30.98% black. Its hue angle is 236.73°, with 25.82% saturation and 58.24% 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.32:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 8.46.
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.2161 |
Shades
#797cb0 mixed progressively with black.
Tints
#797cb0 mixed progressively with white.
Tones
#797cb0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-797cb0 {
color: #797cb0;
}
.bg-797cb0 {
background-color: #797cb0;
color: #000000;
}
.border-797cb0 {
border: 2px solid #797cb0;
}
:root {
--color-primary: #797cb0;
--color-primary-rgb: 121 124 176;
--color-primary-hsl: 237 26% 58%;
}
.gradient-797cb0 {
background: linear-gradient(135deg, #797cb0, #9279b0);
}
.shadow-797cb0 {
box-shadow: 0 8px 24px rgb(121 124 176 / 0.35);
}
Purple Mountain Majesty
#797cb0 rgb(121, 124, 176) hsl(237, 26%, 58%) Purple Mountain Majesty
#b0ad79 rgb(176, 173, 121) hsl(57, 26%, 58%) Sage
#b0797c rgb(176, 121, 124) hsl(357, 26%, 58%) Old Rose
#7cb079 rgb(124, 176, 121) hsl(117, 26%, 58%) Asparagus