#987BF2

#987bf2 ≈ Medium Purple

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

#987bf2 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 94.9% blue; printed in CMYK it uses 37.19% cyan, 49.17% magenta, 0% yellow and 5.1% black. Its hue angle is 254.62°, with 82.07% saturation and 71.57% 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.45:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.61.

Description generated from the measured properties of this color.

Conversions of #987bf2 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.2725

Readable text 3.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9287bf ≈ 0.001% of males
Protanopia #4d90f6 ≈ 1.01% of males
Deuteranopia #528cef ≈ 1.27% of males
Tritanopia #8193ab ≈ 0.0001% of males
Protanomaly #7388f5 ≈ 1.08% of males
Deuteranomaly #7486f0 ≈ 4.63% of males
Tritanomaly #8b8acb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#987bf2  rgb(152, 123, 242)  hsl(255, 82%, 72%)  Medium Purple
#d5f27b  rgb(213, 242, 123)  hsl(75, 82%, 72%)  Inchworm
#f2987b  rgb(242, 152, 123)  hsl(15, 82%, 72%)  Dark Salmon
#7bf298  rgb(123, 242, 152)  hsl(135, 82%, 72%)  Light Green