#8A5EFB

#8a5efb ≈ Medium Slate Blue

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

#8a5efb 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.86% green and 98.43% blue; printed in CMYK it uses 45.02% cyan, 62.55% magenta, 0% yellow and 1.57% black. Its hue angle is 256.82°, with 95.15% saturation and 67.65% 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.07:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #8a5efb 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.2037

Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #8272bd ≈ 0.001% of males
Protanopia #007fff ≈ 1.01% of males
Deuteranopia #0079f8 ≈ 1.27% of males
Tritanopia #6883a4 ≈ 0.0001% of males
Protanomaly #4e73fe ≈ 1.08% of males
Deuteranomaly #526ff9 ≈ 4.63% of males
Tritanomaly #7776cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a5efb  rgb(138, 94, 251)  hsl(257, 95%, 68%)  Medium Slate Blue
#cffb5e  rgb(207, 251, 94)  hsl(77, 95%, 68%)  Electric Lime
#fb8a5e  rgb(251, 138, 94)  hsl(17, 95%, 68%)  Coral
#5efb8a  rgb(94, 251, 138)  hsl(137, 95%, 68%)  Spring Green