#8A7DAB

#8a7dab ≈ Purple Mountain Majesty

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

#8a7dab is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 54.12% red, 49.02% green and 67.06% blue; printed in CMYK it uses 19.3% cyan, 26.9% magenta, 0% yellow and 32.94% black. Its hue angle is 256.96°, with 21.5% saturation and 58.04% 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.6:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 4.84.

Description generated from the measured properties of this color.

Conversions of #8a7dab 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.2301

Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.6:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #868195 ≈ 0.001% of males
Protanopia #7384ad ≈ 1.01% of males
Deuteranopia #7583aa ≈ 1.27% of males
Tritanopia #84848d ≈ 0.0001% of males
Protanomaly #7d81ac ≈ 1.08% of males
Deuteranomaly #7e81aa ≈ 4.63% of males
Tritanomaly #86819a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7dab {
  color: #8a7dab;
}
Background
.bg-8a7dab {
  background-color: #8a7dab;
  color: #000000;
}
Border
.border-8a7dab {
  border: 2px solid #8a7dab;
}
CSS variables
:root {
  --color-primary: #8a7dab;
  --color-primary-rgb: 138 125 171;
  --color-primary-hsl: 257 22% 58%;
}
Gradient
.gradient-8a7dab {
  background: linear-gradient(135deg, #8a7dab, #a17dab);
}
Colored shadow
.shadow-8a7dab {
  box-shadow: 0 8px 24px rgb(138 125 171 / 0.35);
}

Purple Mountain Majesty
#8a7dab  rgb(138, 125, 171)  hsl(257, 22%, 58%)  Purple Mountain Majesty
#9eab7d  rgb(158, 171, 125)  hsl(77, 22%, 58%)  Asparagus
#ab8a7d  rgb(171, 138, 125)  hsl(17, 22%, 58%)  Beaver
#7dab8a  rgb(125, 171, 138)  hsl(137, 22%, 58%)  Dark Sea Green