#7F798E

#7f798e ≈ Old Lavender

  • gray
  • Lightness: medium
  • Saturation: almost no
  • Neutral

#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.

Conversions of #7f798e into other color spaces
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 luminance0.2014

Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #7d7b84 ≈ 0.001% of males
Protanopia #757c8f ≈ 1.01% of males
Deuteranopia #767c8d ≈ 1.27% of males
Tritanopia #7d7c80 ≈ 0.0001% of males
Protanomaly #797b8f ≈ 1.08% of males
Deuteranomaly #7a7b8e ≈ 4.63% of males
Tritanomaly #7e7b86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f798e {
  color: #7f798e;
}
Background
.bg-7f798e {
  background-color: #7f798e;
  color: #000000;
}
Border
.border-7f798e {
  border: 2px solid #7f798e;
}
CSS variables
:root {
  --color-primary: #7f798e;
  --color-primary-rgb: 127 121 142;
  --color-primary-hsl: 257 9% 52%;
}
Gradient
.gradient-7f798e {
  background: linear-gradient(135deg, #7f798e, #8a798e);
}
Colored shadow
.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