#987FF9

#987ff9 ≈ Medium Purple

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

#987ff9 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 97.65% blue; printed in CMYK it uses 38.96% cyan, 49% magenta, 0% yellow and 2.35% black. Its hue angle is 252.3°, with 91.04% saturation and 73.73% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 6.74:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.1.

Description generated from the measured properties of this color.

Conversions of #987ff9 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2869

Readable text 3.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #948bc4 ≈ 0.001% of males
Protanopia #4e94fd ≈ 1.01% of males
Deuteranopia #518ff6 ≈ 1.27% of males
Tritanopia #7e98b0 ≈ 0.0001% of males
Protanomaly #738cfc ≈ 1.08% of males
Deuteranomaly #7489f7 ≈ 4.63% of males
Tritanomaly #898ed1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987ff9 {
  color: #987ff9;
}
Background
.bg-987ff9 {
  background-color: #987ff9;
  color: #000000;
}
Border
.border-987ff9 {
  border: 2px solid #987ff9;
}
CSS variables
:root {
  --color-primary: #987ff9;
  --color-primary-rgb: 152 127 249;
  --color-primary-hsl: 252 91% 74%;
}
Gradient
.gradient-987ff9 {
  background: linear-gradient(135deg, #987ff9, #d57ff9);
}
Colored shadow
.shadow-987ff9 {
  box-shadow: 0 8px 24px rgb(152 127 249 / 0.35);
}

Medium Purple
#987ff9  rgb(152, 127, 249)  hsl(252, 91%, 74%)  Medium Purple
#e0f97f  rgb(224, 249, 127)  hsl(72, 91%, 74%)  Pastel Yellow
#f9987f  rgb(249, 152, 127)  hsl(12, 91%, 74%)  Vivid Tangerine
#7ff998  rgb(127, 249, 152)  hsl(132, 91%, 74%)  Pale Green