#8A71F5

#8a71f5 ≈ Medium Slate Blue

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

#8a71f5 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 44.31% green and 96.08% blue; printed in CMYK it uses 43.67% cyan, 53.88% magenta, 0% yellow and 3.92% black. Its hue angle is 251.36°, with 86.84% saturation and 70.2% 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 5.76:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.72.

Description generated from the measured properties of this color.

Conversions of #8a71f5 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.2381

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #887ebd ≈ 0.001% of males
Protanopia #2c89fa ≈ 1.01% of males
Deuteranopia #2e83f2 ≈ 1.27% of males
Tritanopia #6a8ea8 ≈ 0.0001% of males
Protanomaly #6080f8 ≈ 1.08% of males
Deuteranomaly #607cf3 ≈ 4.63% of males
Tritanomaly #7883cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a71f5 {
  color: #8a71f5;
}
Background
.bg-8a71f5 {
  background-color: #8a71f5;
  color: #000000;
}
Border
.border-8a71f5 {
  border: 2px solid #8a71f5;
}
CSS variables
:root {
  --color-primary: #8a71f5;
  --color-primary-rgb: 138 113 245;
  --color-primary-hsl: 251 87% 70%;
}
Gradient
.gradient-8a71f5 {
  background: linear-gradient(135deg, #8a71f5, #cc71f5);
}
Colored shadow
.shadow-8a71f5 {
  box-shadow: 0 8px 24px rgb(138 113 245 / 0.35);
}

Medium Slate Blue
#8a71f5  rgb(138, 113, 245)  hsl(251, 87%, 70%)  Medium Slate Blue
#dcf571  rgb(220, 245, 113)  hsl(71, 87%, 70%)  June Bud
#f58a71  rgb(245, 138, 113)  hsl(11, 87%, 70%)  Salmon
#71f58a  rgb(113, 245, 138)  hsl(131, 87%, 70%)  Light Green