#987BF8

#987bf8 ≈ Medium Purple

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

#987bf8 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 97.25% blue; printed in CMYK it uses 38.71% cyan, 50.4% magenta, 0% yellow and 2.75% black. Its hue angle is 253.92°, with 89.93% saturation and 72.75% 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.52:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.28.

Description generated from the measured properties of this color.

Conversions of #987bf8 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.2762

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

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #9388c2 ≈ 0.001% of males
Protanopia #4891fc ≈ 1.01% of males
Deuteranopia #4c8df5 ≈ 1.27% of males
Tritanopia #7f94ae ≈ 0.0001% of males
Protanomaly #7189fb ≈ 1.08% of males
Deuteranomaly #7286f6 ≈ 4.63% of males
Tritanomaly #8a8bd0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987bf8 {
  color: #987bf8;
}
Background
.bg-987bf8 {
  background-color: #987bf8;
  color: #000000;
}
Border
.border-987bf8 {
  border: 2px solid #987bf8;
}
CSS variables
:root {
  --color-primary: #987bf8;
  --color-primary-rgb: 152 123 248;
  --color-primary-hsl: 254 90% 73%;
}
Gradient
.gradient-987bf8 {
  background: linear-gradient(135deg, #987bf8, #d77bf8);
}
Colored shadow
.shadow-987bf8 {
  box-shadow: 0 8px 24px rgb(152 123 248 / 0.35);
}

Medium Purple
#987bf8  rgb(152, 123, 248)  hsl(254, 90%, 73%)  Medium Purple
#dbf87b  rgb(219, 248, 123)  hsl(74, 90%, 73%)  Inchworm
#f8987b  rgb(248, 152, 123)  hsl(14, 90%, 73%)  Dark Salmon
#7bf898  rgb(123, 248, 152)  hsl(134, 90%, 73%)  Pale Green