#8A5AFA

#8a5afa ≈ Medium Slate Blue

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

#8a5afa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 35.29% green and 98.04% blue; printed in CMYK it uses 44.8% cyan, 64% magenta, 0% yellow and 1.96% black. Its hue angle is 258°, with 94.12% saturation and 66.67% 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 4.92:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #8a5afa 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.1962

Readable text 4.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.92:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #816fbc ≈ 0.001% of males
Protanopia #007dff ≈ 1.01% of males
Deuteranopia #0077f7 ≈ 1.27% of males
Tritanopia #6980a2 ≈ 0.0001% of males
Protanomaly #4c70fd ≈ 1.08% of males
Deuteranomaly #506df8 ≈ 4.63% of males
Tritanomaly #7773cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5afa {
  color: #8a5afa;
}
Background
.bg-8a5afa {
  background-color: #8a5afa;
  color: #000000;
}
Border
.border-8a5afa {
  border: 2px solid #8a5afa;
}
CSS variables
:root {
  --color-primary: #8a5afa;
  --color-primary-rgb: 138 90 250;
  --color-primary-hsl: 258 94% 67%;
}
Gradient
.gradient-8a5afa {
  background: linear-gradient(135deg, #8a5afa, #da5afa);
}
Colored shadow
.shadow-8a5afa {
  box-shadow: 0 8px 24px rgb(138 90 250 / 0.35);
}

Medium Slate Blue
#8a5afa  rgb(138, 90, 250)  hsl(258, 94%, 67%)  Medium Slate Blue
#cafa5a  rgb(202, 250, 90)  hsl(78, 94%, 67%)  Inchworm
#fa8a5a  rgb(250, 138, 90)  hsl(18, 94%, 67%)  Coral
#5afa8a  rgb(90, 250, 138)  hsl(138, 94%, 67%)  Spring Green