#8A7EBA

#8a7eba ≈ Purple Mountain Majesty

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

#8a7eba 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.41% green and 72.94% blue; printed in CMYK it uses 25.81% cyan, 32.26% magenta, 0% yellow and 27.06% black. Its hue angle is 252°, with 30.3% saturation and 61.18% 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.77:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 4.51.

Description generated from the measured properties of this color.

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

Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #88839e ≈ 0.001% of males
Protanopia #6f87bc ≈ 1.01% of males
Deuteranopia #7085b8 ≈ 1.27% of males
Tritanopia #808894 ≈ 0.0001% of males
Protanomaly #7a83bb ≈ 1.08% of males
Deuteranomaly #7b82b9 ≈ 4.63% of males
Tritanomaly #8484a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7eba {
  color: #8a7eba;
}
Background
.bg-8a7eba {
  background-color: #8a7eba;
  color: #000000;
}
Border
.border-8a7eba {
  border: 2px solid #8a7eba;
}
CSS variables
:root {
  --color-primary: #8a7eba;
  --color-primary-rgb: 138 126 186;
  --color-primary-hsl: 252 30% 61%;
}
Gradient
.gradient-8a7eba {
  background: linear-gradient(135deg, #8a7eba, #a87eba);
}
Colored shadow
.shadow-8a7eba {
  box-shadow: 0 8px 24px rgb(138 126 186 / 0.35);
}

Purple Mountain Majesty
#8a7eba  rgb(138, 126, 186)  hsl(252, 30%, 61%)  Purple Mountain Majesty
#aeba7e  rgb(174, 186, 126)  hsl(72, 30%, 61%)  Olivine
#ba8a7e  rgb(186, 138, 126)  hsl(12, 30%, 61%)  Rosy Brown
#7eba8a  rgb(126, 186, 138)  hsl(132, 30%, 61%)  Dark Sea Green