#987EC4

#987ec4 ≈ Purple Mountain Majesty

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#987ec4 is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 49.41% green and 76.86% blue; printed in CMYK it uses 22.45% cyan, 35.71% magenta, 0% yellow and 23.14% black. Its hue angle is 262.29°, with 37.23% saturation and 63.14% 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 6.12:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #987ec4 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.2558

Readable text 3.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #9086a5 ≈ 0.001% of males
Protanopia #6d8ac7 ≈ 1.01% of males
Deuteranopia #728ac2 ≈ 1.27% of males
Tritanopia #908998 ≈ 0.0001% of males
Protanomaly #8185c6 ≈ 1.08% of males
Deuteranomaly #8385c3 ≈ 4.63% of males
Tritanomaly #9385ab ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987ec4 {
  color: #987ec4;
}
Background
.bg-987ec4 {
  background-color: #987ec4;
  color: #000000;
}
Border
.border-987ec4 {
  border: 2px solid #987ec4;
}
CSS variables
:root {
  --color-primary: #987ec4;
  --color-primary-rgb: 152 126 196;
  --color-primary-hsl: 262 37% 63%;
}
Gradient
.gradient-987ec4 {
  background: linear-gradient(135deg, #987ec4, #bb7ec4);
}
Colored shadow
.shadow-987ec4 {
  box-shadow: 0 8px 24px rgb(152 126 196 / 0.35);
}

Purple Mountain Majesty
#987ec4  rgb(152, 126, 196)  hsl(262, 37%, 63%)  Purple Mountain Majesty
#aac47e  rgb(170, 196, 126)  hsl(82, 37%, 63%)  Olivine
#c4987e  rgb(196, 152, 126)  hsl(22, 37%, 63%)  Tumbleweed
#7ec498  rgb(126, 196, 152)  hsl(142, 37%, 63%)  Dark Sea Green