#A871EF

#a871ef ≈ Medium Purple

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

#a871ef is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 65.88% red, 44.31% green and 93.73% blue; printed in CMYK it uses 29.71% cyan, 52.72% magenta, 0% yellow and 6.27% black. Its hue angle is 266.19°, with 79.75% saturation and 69.02% 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.27:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #a871ef 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.2637

Readable text 3.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #9882bc ≈ 0.001% of males
Protanopia #438cf3 ≈ 1.01% of males
Deuteranopia #548cec ≈ 1.27% of males
Tritanopia #9a89a5 ≈ 0.0001% of males
Protanomaly #7982f2 ≈ 1.08% of males
Deuteranomaly #7e82ed ≈ 4.63% of males
Tritanomaly #a080c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a871ef {
  color: #a871ef;
}
Background
.bg-a871ef {
  background-color: #a871ef;
  color: #000000;
}
Border
.border-a871ef {
  border: 2px solid #a871ef;
}
CSS variables
:root {
  --color-primary: #a871ef;
  --color-primary-rgb: 168 113 239;
  --color-primary-hsl: 266 80% 69%;
}
Gradient
.gradient-a871ef {
  background: linear-gradient(135deg, #a871ef, #e771ef);
}
Colored shadow
.shadow-a871ef {
  box-shadow: 0 8px 24px rgb(168 113 239 / 0.35);
}

Medium Purple
#a871ef  rgb(168, 113, 239)  hsl(266, 80%, 69%)  Medium Purple
#b8ef71  rgb(184, 239, 113)  hsl(86, 80%, 69%)  Inchworm
#efa871  rgb(239, 168, 113)  hsl(26, 80%, 69%)  Sandy Brown
#71efa8  rgb(113, 239, 168)  hsl(146, 80%, 69%)  Medium Spring Green