#8A7DBF

#8a7dbf ≈ Purple Mountain Majesty

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

#8a7dbf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.02% green and 74.9% blue; printed in CMYK it uses 27.75% cyan, 34.55% magenta, 0% yellow and 25.1% black. Its hue angle is 251.82°, with 34.02% saturation and 61.96% 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.78.

Description generated from the measured properties of this color.

Conversions of #8a7dbf 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 #8882a0 ≈ 0.001% of males
Protanopia #6b87c2 ≈ 1.01% of males
Deuteranopia #6c85bd ≈ 1.27% of males
Tritanopia #7e8895 ≈ 0.0001% of males
Protanomaly #7983c1 ≈ 1.08% of males
Deuteranomaly #7982be ≈ 4.63% of males
Tritanomaly #8384a8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7dbf {
  color: #8a7dbf;
}
Background
.bg-8a7dbf {
  background-color: #8a7dbf;
  color: #000000;
}
Border
.border-8a7dbf {
  border: 2px solid #8a7dbf;
}
CSS variables
:root {
  --color-primary: #8a7dbf;
  --color-primary-rgb: 138 125 191;
  --color-primary-hsl: 252 34% 62%;
}
Gradient
.gradient-8a7dbf {
  background: linear-gradient(135deg, #8a7dbf, #ab7dbf);
}
Colored shadow
.shadow-8a7dbf {
  box-shadow: 0 8px 24px rgb(138 125 191 / 0.35);
}

Purple Mountain Majesty
#8a7dbf  rgb(138, 125, 191)  hsl(252, 34%, 62%)  Purple Mountain Majesty
#b2bf7d  rgb(178, 191, 125)  hsl(72, 34%, 62%)  Olivine
#bf8a7d  rgb(191, 138, 125)  hsl(12, 34%, 62%)  Rosy Brown
#7dbf8a  rgb(125, 191, 138)  hsl(132, 34%, 62%)  Dark Sea Green