#8A5AEC

#8a5aec ≈ Medium Slate Blue

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

#8a5aec 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.29% green and 92.55% blue; printed in CMYK it uses 41.53% cyan, 61.86% magenta, 0% yellow and 7.45% black. Its hue angle is 259.73°, with 79.35% saturation and 63.92% 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 brand accents. Black text on this color reaches a contrast ratio of 4.75:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.71.

Description generated from the measured properties of this color.

Conversions of #8a5aec 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.1877

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #806db3 ≈ 0.001% of males
Protanopia #0079f1 ≈ 1.01% of males
Deuteranopia #0076e9 ≈ 1.27% of males
Tritanopia #707b9b ≈ 0.0001% of males
Protanomaly #536eef ≈ 1.08% of males
Deuteranomaly #576cea ≈ 4.63% of males
Tritanomaly #7b6fc1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5aec {
  color: #8a5aec;
}
Background
.bg-8a5aec {
  background-color: #8a5aec;
  color: #000000;
}
Border
.border-8a5aec {
  border: 2px solid #8a5aec;
}
CSS variables
:root {
  --color-primary: #8a5aec;
  --color-primary-rgb: 138 90 236;
  --color-primary-hsl: 260 79% 64%;
}
Gradient
.gradient-8a5aec {
  background: linear-gradient(135deg, #8a5aec, #d35aec);
}
Colored shadow
.shadow-8a5aec {
  box-shadow: 0 8px 24px rgb(138 90 236 / 0.35);
}

Medium Slate Blue
#8a5aec  rgb(138, 90, 236)  hsl(260, 79%, 64%)  Medium Slate Blue
#bcec5a  rgb(188, 236, 90)  hsl(80, 79%, 64%)  Inchworm
#ec8a5a  rgb(236, 138, 90)  hsl(20, 79%, 64%)  Mango Tango
#5aec8a  rgb(90, 236, 138)  hsl(140, 79%, 64%)  Medium Spring Green