#7f798e ≈ Old Lavender
#7f798e is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 49.8% red, 47.45% green and 55.69% blue; printed in CMYK it uses 10.56% cyan, 14.79% magenta, 0% yellow and 44.31% black. Its hue angle is 257.14°, with 8.5% saturation and 51.57% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and brand accents. Black text on this color reaches a contrast ratio of 5.03:1 (WCAG AA). The closest named color is Old Lavender (#796878), ΔE 7.68.
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.2014 |
Shades
#7f798e mixed progressively with black.
Tints
#7f798e mixed progressively with white.
Tones
#7f798e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f798e {
color: #7f798e;
}
.bg-7f798e {
background-color: #7f798e;
color: #000000;
}
.border-7f798e {
border: 2px solid #7f798e;
}
:root {
--color-primary: #7f798e;
--color-primary-rgb: 127 121 142;
--color-primary-hsl: 257 9% 52%;
}
.gradient-7f798e {
background: linear-gradient(135deg, #7f798e, #8a798e);
}
.shadow-7f798e {
box-shadow: 0 8px 24px rgb(127 121 142 / 0.35);
}
Old Lavender
#7f798e rgb(127, 121, 142) hsl(257, 9%, 52%) Old Lavender
#888e79 rgb(136, 142, 121) hsl(77, 9%, 52%) Xanadu
#8e7f79 rgb(142, 127, 121) hsl(17, 9%, 52%) Taupe Gray
#798e7f rgb(121, 142, 127) hsl(137, 9%, 52%) Xanadu