#987FDB

#987fdb ≈ Medium Purple

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

#987fdb 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.8% green and 85.88% blue; printed in CMYK it uses 30.59% cyan, 42.01% magenta, 0% yellow and 14.12% black. Its hue angle is 256.3°, with 56.1% saturation and 67.84% 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.39:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #987fdb 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.2697

Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9288b2 ≈ 0.001% of males
Protanopia #638fde ≈ 1.01% of males
Deuteranopia #678cd9 ≈ 1.27% of males
Tritanopia #8990a2 ≈ 0.0001% of males
Protanomaly #7c89dd ≈ 1.08% of males
Deuteranomaly #7e87da ≈ 4.63% of males
Tritanomaly #8f89bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987fdb {
  color: #987fdb;
}
Background
.bg-987fdb {
  background-color: #987fdb;
  color: #000000;
}
Border
.border-987fdb {
  border: 2px solid #987fdb;
}
CSS variables
:root {
  --color-primary: #987fdb;
  --color-primary-rgb: 152 127 219;
  --color-primary-hsl: 256 56% 68%;
}
Gradient
.gradient-987fdb {
  background: linear-gradient(135deg, #987fdb, #c67fdb);
}
Colored shadow
.shadow-987fdb {
  box-shadow: 0 8px 24px rgb(152 127 219 / 0.35);
}

Medium Purple
#987fdb  rgb(152, 127, 219)  hsl(256, 56%, 68%)  Medium Purple
#c2db7f  rgb(194, 219, 127)  hsl(76, 56%, 68%)  June Bud
#db987f  rgb(219, 152, 127)  hsl(16, 56%, 68%)  Dark Salmon
#7fdb98  rgb(127, 219, 152)  hsl(136, 56%, 68%)  Granny Smith Apple