#9871FF

#9871ff ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#9871ff is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 59.61% red, 44.31% green and 100% blue; printed in CMYK it uses 40.39% cyan, 55.69% magenta, 0% yellow and 0% black. Its hue angle is 256.48°, with 100% 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.14:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.25.

Description generated from the measured properties of this color.

Conversions of #9871ff 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.2571

Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.14:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8b8b8b ≈ 0.003% of males
Achromatomaly #9081c4 ≈ 0.001% of males
Protanopia #238dff ≈ 1.01% of males
Deuteranopia #3088fc ≈ 1.27% of males
Tritanopia #7c8fad ≈ 0.0001% of males
Protanomaly #6782ff ≈ 1.08% of males
Deuteranomaly #6a7ffd ≈ 4.63% of males
Tritanomaly #8884d3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9871ff {
  color: #9871ff;
}
Background
.bg-9871ff {
  background-color: #9871ff;
  color: #000000;
}
Border
.border-9871ff {
  border: 2px solid #9871ff;
}
CSS variables
:root {
  --color-primary: #9871ff;
  --color-primary-rgb: 152 113 255;
  --color-primary-hsl: 256 100% 72%;
}
Gradient
.gradient-9871ff {
  background: linear-gradient(135deg, #9871ff, #df71ff);
}
Colored shadow
.shadow-9871ff {
  box-shadow: 0 8px 24px rgb(152 113 255 / 0.35);
}

Medium Purple
#9871ff  rgb(152, 113, 255)  hsl(256, 100%, 72%)  Medium Purple
#d8ff71  rgb(216, 255, 113)  hsl(76, 100%, 72%)  Inchworm
#ff9871  rgb(255, 152, 113)  hsl(16, 100%, 72%)  Light Salmon
#71ff98  rgb(113, 255, 152)  hsl(136, 100%, 72%)  Mint Green