#987CF2

#987cf2 ≈ Medium Purple

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

#987cf2 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.63% green and 94.9% blue; printed in CMYK it uses 37.19% cyan, 48.76% magenta, 0% yellow and 5.1% black. Its hue angle is 254.24°, with 81.94% saturation and 71.76% 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.5:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #987cf2 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.275

Readable text 3.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #9388bf ≈ 0.001% of males
Protanopia #4f91f6 ≈ 1.01% of males
Deuteranopia #538def ≈ 1.27% of males
Tritanopia #8194ac ≈ 0.0001% of males
Protanomaly #7389f5 ≈ 1.08% of males
Deuteranomaly #7586f0 ≈ 4.63% of males
Tritanomaly #8b8bcc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#987cf2  rgb(152, 124, 242)  hsl(254, 82%, 72%)  Medium Purple
#d6f27c  rgb(214, 242, 124)  hsl(74, 82%, 72%)  Inchworm
#f2987c  rgb(242, 152, 124)  hsl(14, 82%, 72%)  Dark Salmon
#7cf298  rgb(124, 242, 152)  hsl(134, 82%, 72%)  Light Green