#987EB3

#987eb3 ≈ Purple Mountain Majesty

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

#987eb3 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 59.61% red, 49.41% green and 70.2% blue; printed in CMYK it uses 15.08% cyan, 29.61% magenta, 0% yellow and 29.8% black. Its hue angle is 269.43°, with 25.85% saturation and 59.8% 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.97:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #987eb3 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.2485

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #8f849b ≈ 0.001% of males
Protanopia #7488b5 ≈ 1.01% of males
Deuteranopia #7989b1 ≈ 1.27% of males
Tritanopia #948591 ≈ 0.0001% of males
Protanomaly #8484b4 ≈ 1.08% of males
Deuteranomaly #8785b2 ≈ 4.63% of males
Tritanomaly #9683a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987eb3 {
  color: #987eb3;
}
Background
.bg-987eb3 {
  background-color: #987eb3;
  color: #000000;
}
Border
.border-987eb3 {
  border: 2px solid #987eb3;
}
CSS variables
:root {
  --color-primary: #987eb3;
  --color-primary-rgb: 152 126 179;
  --color-primary-hsl: 269 26% 60%;
}
Gradient
.gradient-987eb3 {
  background: linear-gradient(135deg, #987eb3, #b27eb3);
}
Colored shadow
.shadow-987eb3 {
  box-shadow: 0 8px 24px rgb(152 126 179 / 0.35);
}

Purple Mountain Majesty
#987eb3  rgb(152, 126, 179)  hsl(269, 26%, 60%)  Purple Mountain Majesty
#99b37e  rgb(153, 179, 126)  hsl(89, 26%, 60%)  Olivine
#b3987e  rgb(179, 152, 126)  hsl(29, 26%, 60%)  Camel
#7eb398  rgb(126, 179, 152)  hsl(149, 26%, 60%)  Dark Sea Green