#8A5BF8

#8a5bf8 ≈ Medium Slate Blue

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

#8a5bf8 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 97.25% blue; printed in CMYK it uses 44.35% cyan, 63.31% magenta, 0% yellow and 2.75% black. Its hue angle is 257.96°, with 91.81% saturation and 66.47% 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.93:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #8a5bf8 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.1966

Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #816fba ≈ 0.001% of males
Protanopia #007dfd ≈ 1.01% of males
Deuteranopia #0077f5 ≈ 1.27% of males
Tritanopia #6a80a1 ≈ 0.0001% of males
Protanomaly #4e71fb ≈ 1.08% of males
Deuteranomaly #516df6 ≈ 4.63% of males
Tritanomaly #7873ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5bf8 {
  color: #8a5bf8;
}
Background
.bg-8a5bf8 {
  background-color: #8a5bf8;
  color: #000000;
}
Border
.border-8a5bf8 {
  border: 2px solid #8a5bf8;
}
CSS variables
:root {
  --color-primary: #8a5bf8;
  --color-primary-rgb: 138 91 248;
  --color-primary-hsl: 258 92% 66%;
}
Gradient
.gradient-8a5bf8 {
  background: linear-gradient(135deg, #8a5bf8, #d85bf8);
}
Colored shadow
.shadow-8a5bf8 {
  box-shadow: 0 8px 24px rgb(138 91 248 / 0.35);
}

Medium Slate Blue
#8a5bf8  rgb(138, 91, 248)  hsl(258, 92%, 66%)  Medium Slate Blue
#c9f85b  rgb(201, 248, 91)  hsl(78, 92%, 66%)  Inchworm
#f88a5b  rgb(248, 138, 91)  hsl(18, 92%, 66%)  Coral
#5bf88a  rgb(91, 248, 138)  hsl(138, 92%, 66%)  Spring Green