#987DEF

#987def ≈ Medium Purple

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

#987def 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.02% green and 93.73% blue; printed in CMYK it uses 36.4% cyan, 47.7% magenta, 0% yellow and 6.27% black. Its hue angle is 254.21°, with 78.08% saturation and 71.37% 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.51:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.72.

Description generated from the measured properties of this color.

Conversions of #987def 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.2757

Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #9388bd ≈ 0.001% of males
Protanopia #5391f3 ≈ 1.01% of males
Deuteranopia #578dec ≈ 1.27% of males
Tritanopia #8293ab ≈ 0.0001% of males
Protanomaly #7589f1 ≈ 1.08% of males
Deuteranomaly #7687ed ≈ 4.63% of males
Tritanomaly #8b8bca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987def {
  color: #987def;
}
Background
.bg-987def {
  background-color: #987def;
  color: #000000;
}
Border
.border-987def {
  border: 2px solid #987def;
}
CSS variables
:root {
  --color-primary: #987def;
  --color-primary-rgb: 152 125 239;
  --color-primary-hsl: 254 78% 71%;
}
Gradient
.gradient-987def {
  background: linear-gradient(135deg, #987def, #d17def);
}
Colored shadow
.shadow-987def {
  box-shadow: 0 8px 24px rgb(152 125 239 / 0.35);
}

Medium Purple
#987def  rgb(152, 125, 239)  hsl(254, 78%, 71%)  Medium Purple
#d4ef7d  rgb(212, 239, 125)  hsl(74, 78%, 71%)  June Bud
#ef987d  rgb(239, 152, 125)  hsl(14, 78%, 71%)  Dark Salmon
#7def98  rgb(125, 239, 152)  hsl(134, 78%, 71%)  Light Green