#8A7BA2

#8a7ba2 ≈ Purple Mountain Majesty

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

#8a7ba2 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 48.24% green and 63.53% blue; printed in CMYK it uses 14.81% cyan, 24.07% magenta, 0% yellow and 36.47% black. Its hue angle is 263.08°, with 17.33% saturation and 55.88% 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.44:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.1.

Description generated from the measured properties of this color.

Conversions of #8a7ba2 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.2218

Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #857f90 ≈ 0.001% of males
Protanopia #7481a4 ≈ 1.01% of males
Deuteranopia #7682a1 ≈ 1.27% of males
Tritanopia #868188 ≈ 0.0001% of males
Protanomaly #7d7fa3 ≈ 1.08% of males
Deuteranomaly #7f7fa1 ≈ 4.63% of males
Tritanomaly #887e93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7ba2 {
  color: #8a7ba2;
}
Background
.bg-8a7ba2 {
  background-color: #8a7ba2;
  color: #000000;
}
Border
.border-8a7ba2 {
  border: 2px solid #8a7ba2;
}
CSS variables
:root {
  --color-primary: #8a7ba2;
  --color-primary-rgb: 138 123 162;
  --color-primary-hsl: 263 17% 56%;
}
Gradient
.gradient-8a7ba2 {
  background: linear-gradient(135deg, #8a7ba2, #9d7ba2);
}
Colored shadow
.shadow-8a7ba2 {
  box-shadow: 0 8px 24px rgb(138 123 162 / 0.35);
}

Purple Mountain Majesty
#8a7ba2  rgb(138, 123, 162)  hsl(263, 17%, 56%)  Purple Mountain Majesty
#93a27b  rgb(147, 162, 123)  hsl(83, 17%, 56%)  Asparagus
#a28a7b  rgb(162, 138, 123)  hsl(23, 17%, 56%)  Beaver
#7ba28a  rgb(123, 162, 138)  hsl(143, 17%, 56%)  Dark Sea Green