#987FDF

#987fdf ≈ Medium Purple

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

#987fdf 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 87.45% blue; printed in CMYK it uses 31.84% cyan, 43.05% magenta, 0% yellow and 12.55% black. Its hue angle is 255.63°, with 60% saturation and 68.63% 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 brand accents. Black text on this color reaches a contrast ratio of 6.44:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #987fdf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2718

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

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9288b4 ≈ 0.001% of males
Protanopia #618fe3 ≈ 1.01% of males
Deuteranopia #658ddd ≈ 1.27% of males
Tritanopia #8891a4 ≈ 0.0001% of males
Protanomaly #7b89e1 ≈ 1.08% of males
Deuteranomaly #7d88de ≈ 4.63% of males
Tritanomaly #8f8abf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Purple
#987fdf  rgb(152, 127, 223)  hsl(256, 60%, 69%)  Medium Purple
#c6df7f  rgb(198, 223, 127)  hsl(76, 60%, 69%)  June Bud
#df987f  rgb(223, 152, 127)  hsl(16, 60%, 69%)  Dark Salmon
#7fdf98  rgb(127, 223, 152)  hsl(136, 60%, 69%)  Light Green