#8A7EB9

#8a7eb9 ≈ Purple Mountain Majesty

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

#8a7eb9 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.55% blue; printed in CMYK it uses 25.41% cyan, 31.89% magenta, 0% yellow and 27.45% black. Its hue angle is 252.2°, with 29.65% saturation and 60.98% 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.45.

Description generated from the measured properties of this color.

Conversions of #8a7eb9 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.2383

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 #88839d ≈ 0.001% of males
Protanopia #6f87bb ≈ 1.01% of males
Deuteranopia #7085b7 ≈ 1.27% of males
Tritanopia #808893 ≈ 0.0001% of males
Protanomaly #7b83ba ≈ 1.08% of males
Deuteranomaly #7b82b8 ≈ 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-8a7eb9 {
  color: #8a7eb9;
}
Background
.bg-8a7eb9 {
  background-color: #8a7eb9;
  color: #000000;
}
Border
.border-8a7eb9 {
  border: 2px solid #8a7eb9;
}
CSS variables
:root {
  --color-primary: #8a7eb9;
  --color-primary-rgb: 138 126 185;
  --color-primary-hsl: 252 30% 61%;
}
Gradient
.gradient-8a7eb9 {
  background: linear-gradient(135deg, #8a7eb9, #a77eb9);
}
Colored shadow
.shadow-8a7eb9 {
  box-shadow: 0 8px 24px rgb(138 126 185 / 0.35);
}

Purple Mountain Majesty
#8a7eb9  rgb(138, 126, 185)  hsl(252, 30%, 61%)  Purple Mountain Majesty
#adb97e  rgb(173, 185, 126)  hsl(72, 30%, 61%)  Olivine
#b98a7e  rgb(185, 138, 126)  hsl(12, 30%, 61%)  Rosy Brown
#7eb98a  rgb(126, 185, 138)  hsl(132, 30%, 61%)  Dark Sea Green