#8A7A9F

#8a7a9f ≈ Purple Mountain Majesty

  • violet
  • Lightness: medium
  • Saturation: muted
  • Cool

#8a7a9f is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 47.84% green and 62.35% blue; printed in CMYK it uses 13.21% cyan, 23.27% magenta, 0% yellow and 37.65% black. Its hue angle is 265.95°, with 16.16% saturation and 55.1% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 5.37:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.6.

Description generated from the measured properties of this color.

Conversions of #8a7a9f 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.2183

Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.37:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #847e8e ≈ 0.001% of males
Protanopia #7380a1 ≈ 1.01% of males
Deuteranopia #76819e ≈ 1.27% of males
Tritanopia #877f87 ≈ 0.0001% of males
Protanomaly #7d7ea0 ≈ 1.08% of males
Deuteranomaly #7f7e9e ≈ 4.63% of males
Tritanomaly #887d91 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7a9f {
  color: #8a7a9f;
}
Background
.bg-8a7a9f {
  background-color: #8a7a9f;
  color: #000000;
}
Border
.border-8a7a9f {
  border: 2px solid #8a7a9f;
}
CSS variables
:root {
  --color-primary: #8a7a9f;
  --color-primary-rgb: 138 122 159;
  --color-primary-hsl: 266 16% 55%;
}
Gradient
.gradient-8a7a9f {
  background: linear-gradient(135deg, #8a7a9f, #9d7a9f);
}
Colored shadow
.shadow-8a7a9f {
  box-shadow: 0 8px 24px rgb(138 122 159 / 0.35);
}

Purple Mountain Majesty
#8a7a9f  rgb(138, 122, 159)  hsl(266, 16%, 55%)  Purple Mountain Majesty
#8f9f7a  rgb(143, 159, 122)  hsl(86, 16%, 55%)  Moss Green
#9f8a7a  rgb(159, 138, 122)  hsl(26, 16%, 55%)  Beaver
#7a9f8a  rgb(122, 159, 138)  hsl(146, 16%, 55%)  Xanadu