#8A7DB2

#8a7db2 ≈ Purple Mountain Majesty

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

#8a7db2 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.02% green and 69.8% blue; printed in CMYK it uses 22.47% cyan, 29.78% magenta, 0% yellow and 30.2% black. Its hue angle is 254.72°, with 25.6% saturation and 59.41% 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.66:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 4.12.

Description generated from the measured properties of this color.

Conversions of #8a7db2 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.2328

Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #878299 ≈ 0.001% of males
Protanopia #7085b4 ≈ 1.01% of males
Deuteranopia #7284b1 ≈ 1.27% of males
Tritanopia #828690 ≈ 0.0001% of males
Protanomaly #7b82b3 ≈ 1.08% of males
Deuteranomaly #7c81b1 ≈ 4.63% of males
Tritanomaly #85829f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a7db2 {
  color: #8a7db2;
}
Background
.bg-8a7db2 {
  background-color: #8a7db2;
  color: #000000;
}
Border
.border-8a7db2 {
  border: 2px solid #8a7db2;
}
CSS variables
:root {
  --color-primary: #8a7db2;
  --color-primary-rgb: 138 125 178;
  --color-primary-hsl: 255 26% 59%;
}
Gradient
.gradient-8a7db2 {
  background: linear-gradient(135deg, #8a7db2, #a47db2);
}
Colored shadow
.shadow-8a7db2 {
  box-shadow: 0 8px 24px rgb(138 125 178 / 0.35);
}

Purple Mountain Majesty
#8a7db2  rgb(138, 125, 178)  hsl(255, 26%, 59%)  Purple Mountain Majesty
#a5b27d  rgb(165, 178, 125)  hsl(75, 26%, 59%)  Olivine
#b28a7d  rgb(178, 138, 125)  hsl(15, 26%, 59%)  Beaver
#7db28a  rgb(125, 178, 138)  hsl(135, 26%, 59%)  Dark Sea Green