#8172BB

#8172bb ≈ Purple Mountain Majesty

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#8172bb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.59% red, 44.71% green and 73.33% blue; printed in CMYK it uses 31.02% cyan, 39.04% magenta, 0% yellow and 26.67% black. Its hue angle is 252.33°, with 34.93% saturation and 59.02% 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.06:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.1.

Description generated from the measured properties of this color.

Conversions of #8172bb 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.2029

Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #7e7899 ≈ 0.001% of males
Protanopia #5d7dbe ≈ 1.01% of males
Deuteranopia #5e7bb9 ≈ 1.27% of males
Tritanopia #747f8d ≈ 0.0001% of males
Protanomaly #6d79bd ≈ 1.08% of males
Deuteranomaly #6e78ba ≈ 4.63% of males
Tritanomaly #797aa2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8172bb {
  color: #8172bb;
}
Background
.bg-8172bb {
  background-color: #8172bb;
  color: #000000;
}
Border
.border-8172bb {
  border: 2px solid #8172bb;
}
CSS variables
:root {
  --color-primary: #8172bb;
  --color-primary-rgb: 129 114 187;
  --color-primary-hsl: 252 35% 59%;
}
Gradient
.gradient-8172bb {
  background: linear-gradient(135deg, #8172bb, #a672bb);
}
Colored shadow
.shadow-8172bb {
  box-shadow: 0 8px 24px rgb(129 114 187 / 0.35);
}

Purple Mountain Majesty
#8172bb  rgb(129, 114, 187)  hsl(252, 35%, 59%)  Purple Mountain Majesty
#acbb72  rgb(172, 187, 114)  hsl(72, 35%, 59%)  Olivine
#bb8172  rgb(187, 129, 114)  hsl(12, 35%, 59%)  Old Rose
#72bb81  rgb(114, 187, 129)  hsl(132, 35%, 59%)  Dark Sea Green