#987CA8

#987ca8 ≈ Purple Mountain Majesty

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

#987ca8 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 59.61% red, 48.63% green and 65.88% blue; printed in CMYK it uses 9.52% cyan, 26.19% magenta, 0% yellow and 34.12% black. Its hue angle is 278.18°, with 20.18% saturation and 57.25% 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.78:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #987ca8 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.2392

Readable text 3.63:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #8e8295 ≈ 0.001% of males
Protanopia #7685aa ≈ 1.01% of males
Deuteranopia #7b87a7 ≈ 1.27% of males
Tritanopia #97818b ≈ 0.0001% of males
Protanomaly #8581a9 ≈ 1.08% of males
Deuteranomaly #8883a7 ≈ 4.63% of males
Tritanomaly #977f98 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987ca8 {
  color: #987ca8;
}
Background
.bg-987ca8 {
  background-color: #987ca8;
  color: #000000;
}
Border
.border-987ca8 {
  border: 2px solid #987ca8;
}
CSS variables
:root {
  --color-primary: #987ca8;
  --color-primary-rgb: 152 124 168;
  --color-primary-hsl: 278 20% 57%;
}
Gradient
.gradient-987ca8 {
  background: linear-gradient(135deg, #987ca8, #a87ca2);
}
Colored shadow
.shadow-987ca8 {
  box-shadow: 0 8px 24px rgb(152 124 168 / 0.35);
}

Purple Mountain Majesty
#987ca8  rgb(152, 124, 168)  hsl(278, 20%, 57%)  Purple Mountain Majesty
#8ca87c  rgb(140, 168, 124)  hsl(98, 20%, 57%)  Asparagus
#a8987c  rgb(168, 152, 124)  hsl(38, 20%, 57%)  Camel
#7ca898  rgb(124, 168, 152)  hsl(158, 20%, 57%)  Cadet Blue