#8A5BEF

#8a5bef ≈ Medium Slate Blue

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

#8a5bef 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 93.73% blue; printed in CMYK it uses 42.26% cyan, 61.92% magenta, 0% yellow and 6.27% black. Its hue angle is 259.05°, with 82.22% saturation and 64.71% 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.82:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.41.

Description generated from the measured properties of this color.

Conversions of #8a5bef 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.1912

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #806eb5 ≈ 0.001% of males
Protanopia #007bf4 ≈ 1.01% of males
Deuteranopia #0076ec ≈ 1.27% of males
Tritanopia #6e7d9d ≈ 0.0001% of males
Protanomaly #526ff2 ≈ 1.08% of males
Deuteranomaly #566ced ≈ 4.63% of males
Tritanomaly #7a71c3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a5bef  rgb(138, 91, 239)  hsl(259, 82%, 65%)  Medium Slate Blue
#c0ef5b  rgb(192, 239, 91)  hsl(79, 82%, 65%)  Inchworm
#ef8a5b  rgb(239, 138, 91)  hsl(19, 82%, 65%)  Coral
#5bef8a  rgb(91, 239, 138)  hsl(139, 82%, 65%)  Medium Spring Green