#987BEF

#987bef ≈ Medium Purple

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

#987bef is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 59.61% red, 48.24% green and 93.73% blue; printed in CMYK it uses 36.4% cyan, 48.54% magenta, 0% yellow and 6.27% black. Its hue angle is 255°, with 78.38% saturation and 70.98% 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.41:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.3.

Description generated from the measured properties of this color.

Conversions of #987bef 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.2707

Readable text 3.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9287bd ≈ 0.001% of males
Protanopia #5090f3 ≈ 1.01% of males
Deuteranopia #548cec ≈ 1.27% of males
Tritanopia #8292aa ≈ 0.0001% of males
Protanomaly #7488f1 ≈ 1.08% of males
Deuteranomaly #7586ed ≈ 4.63% of males
Tritanomaly #8c89c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#987bef  rgb(152, 123, 239)  hsl(255, 78%, 71%)  Medium Purple
#d2ef7b  rgb(210, 239, 123)  hsl(75, 78%, 71%)  June Bud
#ef987b  rgb(239, 152, 123)  hsl(15, 78%, 71%)  Dark Salmon
#7bef98  rgb(123, 239, 152)  hsl(135, 78%, 71%)  Light Green