#987FFC

#987ffc ≈ Medium Purple

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

#987ffc 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 98.82% blue; printed in CMYK it uses 39.68% cyan, 49.6% magenta, 0% yellow and 1.18% black. Its hue angle is 252°, with 95.42% saturation and 74.31% 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.78:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.41.

Description generated from the measured properties of this color.

Conversions of #987ffc 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.2888

Readable text 3.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #929292 ≈ 0.003% of males
Achromatomaly #958bc6 ≈ 0.001% of males
Protanopia #4c95ff ≈ 1.01% of males
Deuteranopia #4e90f9 ≈ 1.27% of males
Tritanopia #7d99b2 ≈ 0.0001% of males
Protanomaly #728dff ≈ 1.08% of males
Deuteranomaly #7389fa ≈ 4.63% of males
Tritanomaly #888fd4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#987ffc  rgb(152, 127, 252)  hsl(252, 95%, 74%)  Medium Purple
#e3fc7f  rgb(227, 252, 127)  hsl(72, 95%, 74%)  Pastel Yellow
#fc987f  rgb(252, 152, 127)  hsl(12, 95%, 74%)  Vivid Tangerine
#7ffc98  rgb(127, 252, 152)  hsl(132, 95%, 74%)  Pale Green