#8A5CFA

#8a5cfa ≈ Medium Slate Blue

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

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

Description generated from the measured properties of this color.

Conversions of #8a5cfa 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.1996

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #8270bc ≈ 0.001% of males
Protanopia #007eff ≈ 1.01% of males
Deuteranopia #0078f7 ≈ 1.27% of males
Tritanopia #6981a3 ≈ 0.0001% of males
Protanomaly #4d72fd ≈ 1.08% of males
Deuteranomaly #516ef8 ≈ 4.63% of males
Tritanomaly #7774cc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a5cfa  rgb(138, 92, 250)  hsl(257, 94%, 67%)  Medium Slate Blue
#ccfa5c  rgb(204, 250, 92)  hsl(77, 94%, 67%)  Inchworm
#fa8a5c  rgb(250, 138, 92)  hsl(17, 94%, 67%)  Coral
#5cfa8a  rgb(92, 250, 138)  hsl(137, 94%, 67%)  Spring Green