#8A51EC

#8a51ec ≈ Medium Slate Blue

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

#8a51ec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 31.76% green and 92.55% blue; printed in CMYK it uses 41.53% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 262.06°, with 80.31% saturation and 62.16% 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. White text on this color reaches a contrast ratio of 4.7:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.59.

Description generated from the measured properties of this color.

Conversions of #8a51ec 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.1734

Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #7d67b1 ≈ 0.001% of males
Protanopia #0075f1 ≈ 1.01% of males
Deuteranopia #0071e9 ≈ 1.27% of males
Tritanopia #707698 ≈ 0.0001% of males
Protanomaly #4d68ef ≈ 1.08% of males
Deuteranomaly #5266ea ≈ 4.63% of males
Tritanomaly #7b69bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a51ec {
  color: #8a51ec;
}
Background
.bg-8a51ec {
  background-color: #8a51ec;
  color: #ffffff;
}
Border
.border-8a51ec {
  border: 2px solid #8a51ec;
}
CSS variables
:root {
  --color-primary: #8a51ec;
  --color-primary-rgb: 138 81 236;
  --color-primary-hsl: 262 80% 62%;
}
Gradient
.gradient-8a51ec {
  background: linear-gradient(135deg, #8a51ec, #d751ec);
}
Colored shadow
.shadow-8a51ec {
  box-shadow: 0 8px 24px rgb(138 81 236 / 0.35);
}

Medium Slate Blue
#8a51ec  rgb(138, 81, 236)  hsl(262, 80%, 62%)  Medium Slate Blue
#b3ec51  rgb(179, 236, 81)  hsl(82, 80%, 62%)  Inchworm
#ec8a51  rgb(236, 138, 81)  hsl(22, 80%, 62%)  Mango Tango
#51ec8a  rgb(81, 236, 138)  hsl(142, 80%, 62%)  Medium Spring Green