#987FF1

#987ff1 ≈ Medium Purple

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

#987ff1 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.8% green and 94.51% blue; printed in CMYK it uses 36.93% cyan, 47.3% magenta, 0% yellow and 5.49% black. Its hue angle is 253.16°, with 80.28% saturation and 72.16% 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.64:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #987ff1 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.2821

Readable text 3.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #919191 ≈ 0.003% of males
Achromatomaly #948abf ≈ 0.001% of males
Protanopia #5593f5 ≈ 1.01% of males
Deuteranopia #588eee ≈ 1.27% of males
Tritanopia #8195ad ≈ 0.0001% of males
Protanomaly #768bf3 ≈ 1.08% of males
Deuteranomaly #7789ef ≈ 4.63% of males
Tritanomaly #8b8dcc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-987ff1 {
  color: #987ff1;
}
Background
.bg-987ff1 {
  background-color: #987ff1;
  color: #000000;
}
Border
.border-987ff1 {
  border: 2px solid #987ff1;
}
CSS variables
:root {
  --color-primary: #987ff1;
  --color-primary-rgb: 152 127 241;
  --color-primary-hsl: 253 80% 72%;
}
Gradient
.gradient-987ff1 {
  background: linear-gradient(135deg, #987ff1, #d17ff1);
}
Colored shadow
.shadow-987ff1 {
  box-shadow: 0 8px 24px rgb(152 127 241 / 0.35);
}

Medium Purple
#987ff1  rgb(152, 127, 241)  hsl(253, 80%, 72%)  Medium Purple
#d8f17f  rgb(216, 241, 127)  hsl(73, 80%, 72%)  June Bud
#f1987f  rgb(241, 152, 127)  hsl(13, 80%, 72%)  Dark Salmon
#7ff198  rgb(127, 241, 152)  hsl(133, 80%, 72%)  Light Green