#987BA2

#987ba2 ≈ Purple Mountain Majesty

  • magenta
  • Lightness: medium
  • Saturation: muted
  • Cool

#987ba2 is a color from the magenta family, with medium lightness and muted saturation. In the RGB model it is made of 59.61% red, 48.24% green and 63.53% blue; printed in CMYK it uses 6.17% cyan, 24.07% magenta, 0% yellow and 36.47% black. Its hue angle is 284.62°, with 17.33% saturation and 55.88% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 5.69:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.12.

Description generated from the measured properties of this color.

Conversions of #987ba2 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.2345

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #8d8191 ≈ 0.001% of males
Protanopia #7683a4 ≈ 1.01% of males
Deuteranopia #7d86a1 ≈ 1.27% of males
Tritanopia #987f89 ≈ 0.0001% of males
Protanomaly #8580a3 ≈ 1.08% of males
Deuteranomaly #8882a1 ≈ 4.63% of males
Tritanomaly #987e93 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987ba2 {
  color: #987ba2;
}
Background
.bg-987ba2 {
  background-color: #987ba2;
  color: #000000;
}
Border
.border-987ba2 {
  border: 2px solid #987ba2;
}
CSS variables
:root {
  --color-primary: #987ba2;
  --color-primary-rgb: 152 123 162;
  --color-primary-hsl: 285 17% 56%;
}
Gradient
.gradient-987ba2 {
  background: linear-gradient(135deg, #987ba2, #a27b98);
}
Colored shadow
.shadow-987ba2 {
  box-shadow: 0 8px 24px rgb(152 123 162 / 0.35);
}

Purple Mountain Majesty
#987ba2  rgb(152, 123, 162)  hsl(285, 17%, 56%)  Purple Mountain Majesty
#85a27b  rgb(133, 162, 123)  hsl(105, 17%, 56%)  Asparagus
#a2987b  rgb(162, 152, 123)  hsl(45, 17%, 56%)  Ecru
#7ba298  rgb(123, 162, 152)  hsl(165, 17%, 56%)  Cadet Blue