#7F768A

#7f768a ≈ Old Lavender

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

#7f768a 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, 46.27% green and 54.12% blue; printed in CMYK it uses 7.97% cyan, 14.49% magenta, 0% yellow and 45.88% black. Its hue angle is 267°, with 7.87% saturation and 50.2% 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 4.86:1 (WCAG AA). The closest named color is Old Lavender (#796878), ΔE 6.11.

Description generated from the measured properties of this color.

Conversions of #7f768a 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.193

Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #7c7880 ≈ 0.001% of males
Protanopia #73798b ≈ 1.01% of males
Deuteranopia #747a89 ≈ 1.27% of males
Tritanopia #7e787d ≈ 0.0001% of males
Protanomaly #78788b ≈ 1.08% of males
Deuteranomaly #79788a ≈ 4.63% of males
Tritanomaly #7e7882 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f768a {
  color: #7f768a;
}
Background
.bg-7f768a {
  background-color: #7f768a;
  color: #000000;
}
Border
.border-7f768a {
  border: 2px solid #7f768a;
}
CSS variables
:root {
  --color-primary: #7f768a;
  --color-primary-rgb: 127 118 138;
  --color-primary-hsl: 267 8% 50%;
}
Gradient
.gradient-7f768a {
  background: linear-gradient(135deg, #7f768a, #89768a);
}
Colored shadow
.shadow-7f768a {
  box-shadow: 0 8px 24px rgb(127 118 138 / 0.35);
}

Old Lavender
#7f768a  rgb(127, 118, 138)  hsl(267, 8%, 50%)  Old Lavender
#818a76  rgb(129, 138, 118)  hsl(87, 8%, 50%)  Xanadu
#8a7f76  rgb(138, 127, 118)  hsl(27, 8%, 50%)  Battleship Gray
#768a7f  rgb(118, 138, 127)  hsl(147, 8%, 50%)  Xanadu