#8A5BF1

#8a5bf1 ≈ Medium Slate Blue

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

#8a5bf1 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.69% green and 94.51% blue; printed in CMYK it uses 42.74% cyan, 62.24% magenta, 0% yellow and 5.49% black. Its hue angle is 258.8°, with 84.27% saturation and 65.1% 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.85:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #8a5bf1 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.1924

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #806eb6 ≈ 0.001% of males
Protanopia #007bf6 ≈ 1.01% of males
Deuteranopia #0077ee ≈ 1.27% of males
Tritanopia #6d7e9e ≈ 0.0001% of males
Protanomaly #5170f4 ≈ 1.08% of males
Deuteranomaly #556def ≈ 4.63% of males
Tritanomaly #7a71c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5bf1 {
  color: #8a5bf1;
}
Background
.bg-8a5bf1 {
  background-color: #8a5bf1;
  color: #000000;
}
Border
.border-8a5bf1 {
  border: 2px solid #8a5bf1;
}
CSS variables
:root {
  --color-primary: #8a5bf1;
  --color-primary-rgb: 138 91 241;
  --color-primary-hsl: 259 84% 65%;
}
Gradient
.gradient-8a5bf1 {
  background: linear-gradient(135deg, #8a5bf1, #d55bf1);
}
Colored shadow
.shadow-8a5bf1 {
  box-shadow: 0 8px 24px rgb(138 91 241 / 0.35);
}

Medium Slate Blue
#8a5bf1  rgb(138, 91, 241)  hsl(259, 84%, 65%)  Medium Slate Blue
#c2f15b  rgb(194, 241, 91)  hsl(79, 84%, 65%)  Inchworm
#f18a5b  rgb(241, 138, 91)  hsl(19, 84%, 65%)  Coral
#5bf18a  rgb(91, 241, 138)  hsl(139, 84%, 65%)  Medium Spring Green