#8A7F8A

#8a7f8a ≈ Taupe Gray

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

#8a7f8a is a color from the gray family, with medium lightness and almost no saturation. In the RGB model it is made of 54.12% red, 49.8% green and 54.12% blue; printed in CMYK it uses 0% cyan, 7.97% magenta, 0% yellow and 45.88% black. Its hue angle is 300°, with 4.49% saturation and 51.96% 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.48:1 (WCAG AA). The closest named color is Taupe Gray (#8b8589), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #8a7f8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#996699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2242

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #858185 ≈ 0.001% of males
Protanopia #7e818b ≈ 1.01% of males
Deuteranopia #81838a ≈ 1.27% of males
Tritanopia #8b8083 ≈ 0.0001% of males
Protanomaly #83808a ≈ 1.08% of males
Deuteranomaly #84818a ≈ 4.63% of males
Tritanomaly #8a7f86 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7f8a {
  color: #8a7f8a;
}
Background
.bg-8a7f8a {
  background-color: #8a7f8a;
  color: #000000;
}
Border
.border-8a7f8a {
  border: 2px solid #8a7f8a;
}
CSS variables
:root {
  --color-primary: #8a7f8a;
  --color-primary-rgb: 138 127 138;
  --color-primary-hsl: 300 4% 52%;
}
Gradient
.gradient-8a7f8a {
  background: linear-gradient(135deg, #8a7f8a, #8a7f84);
}
Colored shadow
.shadow-8a7f8a {
  box-shadow: 0 8px 24px rgb(138 127 138 / 0.35);
}

Taupe Gray
#8a7f8a  rgb(138, 127, 138)  hsl(300, 4%, 52%)  Taupe Gray
#7f8a7f  rgb(127, 138, 127)  hsl(120, 4%, 52%)  Xanadu
#8a8a7f  rgb(138, 138, 127)  hsl(60, 4%, 52%)  Battleship Gray
#7f8a8a  rgb(127, 138, 138)  hsl(180, 4%, 52%)  Battleship Gray