#9787CD

#9787cd ≈ Purple Mountain Majesty

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

#9787cd is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.22% red, 52.94% green and 80.39% blue; printed in CMYK it uses 26.34% cyan, 34.15% magenta, 0% yellow and 19.61% black. Its hue angle is 253.71°, with 41.18% saturation and 66.67% 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.66:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.29.

Description generated from the measured properties of this color.

Conversions of #9787cd into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9999cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2832

Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #919191 ≈ 0.003% of males
Achromatomaly #938dac ≈ 0.001% of males
Protanopia #7592d0 ≈ 1.01% of males
Deuteranopia #7790cb ≈ 1.27% of males
Tritanopia #8c93a1 ≈ 0.0001% of males
Protanomaly #848ecf ≈ 1.08% of males
Deuteranomaly #858ccc ≈ 4.63% of males
Tritanomaly #908eb4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9787cd {
  color: #9787cd;
}
Background
.bg-9787cd {
  background-color: #9787cd;
  color: #000000;
}
Border
.border-9787cd {
  border: 2px solid #9787cd;
}
CSS variables
:root {
  --color-primary: #9787cd;
  --color-primary-rgb: 151 135 205;
  --color-primary-hsl: 254 41% 67%;
}
Gradient
.gradient-9787cd {
  background: linear-gradient(135deg, #9787cd, #ba87cd);
}
Colored shadow
.shadow-9787cd {
  box-shadow: 0 8px 24px rgb(151 135 205 / 0.35);
}

Purple Mountain Majesty
#9787cd  rgb(151, 135, 205)  hsl(254, 41%, 67%)  Purple Mountain Majesty
#bdcd87  rgb(189, 205, 135)  hsl(74, 41%, 67%)  Olivine
#cd9787  rgb(205, 151, 135)  hsl(14, 41%, 67%)  Dark Salmon
#87cd97  rgb(135, 205, 151)  hsl(134, 41%, 67%)  Dark Sea Green