#8173A5

#8173a5 ≈ Purple Mountain Majesty

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

#8173a5 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 50.59% red, 45.1% green and 64.71% blue; printed in CMYK it uses 21.82% cyan, 30.3% magenta, 0% yellow and 35.29% black. Its hue angle is 256.8°, with 21.74% saturation and 54.9% 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 4.93:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 5.52.

Description generated from the measured properties of this color.

Conversions of #8173a5 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.1965

Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #7d788d ≈ 0.001% of males
Protanopia #677ba7 ≈ 1.01% of males
Deuteranopia #697aa4 ≈ 1.27% of males
Tritanopia #7a7b85 ≈ 0.0001% of males
Protanomaly #7378a6 ≈ 1.08% of males
Deuteranomaly #7477a4 ≈ 4.63% of males
Tritanomaly #7d7893 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8173a5 {
  color: #8173a5;
}
Background
.bg-8173a5 {
  background-color: #8173a5;
  color: #000000;
}
Border
.border-8173a5 {
  border: 2px solid #8173a5;
}
CSS variables
:root {
  --color-primary: #8173a5;
  --color-primary-rgb: 129 115 165;
  --color-primary-hsl: 257 22% 55%;
}
Gradient
.gradient-8173a5 {
  background: linear-gradient(135deg, #8173a5, #9a73a5);
}
Colored shadow
.shadow-8173a5 {
  box-shadow: 0 8px 24px rgb(129 115 165 / 0.35);
}

Purple Mountain Majesty
#8173a5  rgb(129, 115, 165)  hsl(257, 22%, 55%)  Purple Mountain Majesty
#97a573  rgb(151, 165, 115)  hsl(77, 22%, 55%)  Moss Green
#a58173  rgb(165, 129, 115)  hsl(17, 22%, 55%)  Beaver
#73a581  rgb(115, 165, 129)  hsl(137, 22%, 55%)  Dark Sea Green