#8A71C4

#8a71c4 ≈ Medium Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#8a71c4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 44.31% green and 76.86% blue; printed in CMYK it uses 29.59% cyan, 42.35% magenta, 0% yellow and 23.14% black. Its hue angle is 258.07°, with 41.29% saturation and 60.59% 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 5.24:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 4.12.

Description generated from the measured properties of this color.

Conversions of #8a71c4 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.212

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #847a9f ≈ 0.001% of males
Protanopia #597fc7 ≈ 1.01% of males
Deuteranopia #5d7ec2 ≈ 1.27% of males
Tritanopia #7e8091 ≈ 0.0001% of males
Protanomaly #707ac6 ≈ 1.08% of males
Deuteranomaly #7279c3 ≈ 4.63% of males
Tritanomaly #837aa8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a71c4 {
  color: #8a71c4;
}
Background
.bg-8a71c4 {
  background-color: #8a71c4;
  color: #000000;
}
Border
.border-8a71c4 {
  border: 2px solid #8a71c4;
}
CSS variables
:root {
  --color-primary: #8a71c4;
  --color-primary-rgb: 138 113 196;
  --color-primary-hsl: 258 41% 61%;
}
Gradient
.gradient-8a71c4 {
  background: linear-gradient(135deg, #8a71c4, #b371c4);
}
Colored shadow
.shadow-8a71c4 {
  box-shadow: 0 8px 24px rgb(138 113 196 / 0.35);
}

Medium Purple
#8a71c4  rgb(138, 113, 196)  hsl(258, 41%, 61%)  Medium Purple
#abc471  rgb(171, 196, 113)  hsl(78, 41%, 61%)  Olivine
#c48a71  rgb(196, 138, 113)  hsl(18, 41%, 61%)  Raw Sienna
#71c48a  rgb(113, 196, 138)  hsl(138, 41%, 61%)  Emerald