#8A7FA7

#8a7fa7 ≈ Purple Mountain Majesty

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

#8a7fa7 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.8% green and 65.49% blue; printed in CMYK it uses 17.37% cyan, 23.95% magenta, 0% yellow and 34.51% black. Its hue angle is 256.5°, with 18.52% saturation and 57.65% 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.67:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.27.

Description generated from the measured properties of this color.

Conversions of #8a7fa7 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.2337

Readable text 3.7:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #878394 ≈ 0.001% of males
Protanopia #7785a9 ≈ 1.01% of males
Deuteranopia #7884a6 ≈ 1.27% of males
Tritanopia #85858d ≈ 0.0001% of males
Protanomaly #7f83a8 ≈ 1.08% of males
Deuteranomaly #8082a6 ≈ 4.63% of males
Tritanomaly #878398 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purple Mountain Majesty
#8a7fa7  rgb(138, 127, 167)  hsl(257, 19%, 58%)  Purple Mountain Majesty
#9ca77f  rgb(156, 167, 127)  hsl(77, 19%, 58%)  Asparagus
#a78a7f  rgb(167, 138, 127)  hsl(17, 19%, 58%)  Beaver
#7fa78a  rgb(127, 167, 138)  hsl(137, 19%, 58%)  Dark Sea Green