#A871FA

#a871fa ≈ Medium Purple

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

#a871fa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 65.88% red, 44.31% green and 98.04% blue; printed in CMYK it uses 32.8% cyan, 54.8% magenta, 0% yellow and 1.96% black. Its hue angle is 264.09°, with 93.2% saturation and 71.18% 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.41:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.44.

Description generated from the measured properties of this color.

Conversions of #a871fa 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.2704

Readable text 3.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9983c3 ≈ 0.001% of males
Protanopia #378eff ≈ 1.01% of males
Deuteranopia #4a8df7 ≈ 1.27% of males
Tritanopia #978cab ≈ 0.0001% of males
Protanomaly #7583fd ≈ 1.08% of males
Deuteranomaly #7b83f8 ≈ 4.63% of males
Tritanomaly #9e82cf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a871fa {
  color: #a871fa;
}
Background
.bg-a871fa {
  background-color: #a871fa;
  color: #000000;
}
Border
.border-a871fa {
  border: 2px solid #a871fa;
}
CSS variables
:root {
  --color-primary: #a871fa;
  --color-primary-rgb: 168 113 250;
  --color-primary-hsl: 264 93% 71%;
}
Gradient
.gradient-a871fa {
  background: linear-gradient(135deg, #a871fa, #ed71fa);
}
Colored shadow
.shadow-a871fa {
  box-shadow: 0 8px 24px rgb(168 113 250 / 0.35);
}

Medium Purple
#a871fa  rgb(168, 113, 250)  hsl(264, 93%, 71%)  Medium Purple
#c3fa71  rgb(195, 250, 113)  hsl(84, 93%, 71%)  Inchworm
#faa871  rgb(250, 168, 113)  hsl(24, 93%, 71%)  Sandy Brown
#71faa8  rgb(113, 250, 168)  hsl(144, 93%, 71%)  Medium Spring Green