#8A51EE

#8a51ee ≈ Medium Slate Blue

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

#8a51ee 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 93.33% blue; printed in CMYK it uses 42.02% cyan, 65.97% magenta, 0% yellow and 6.67% black. Its hue angle is 261.78°, with 82.2% saturation and 62.55% 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.67:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.5.

Description generated from the measured properties of this color.

Conversions of #8a51ee 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.1746

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #7d68b2 ≈ 0.001% of males
Protanopia #0075f3 ≈ 1.01% of males
Deuteranopia #0072eb ≈ 1.27% of males
Tritanopia #6f7799 ≈ 0.0001% of males
Protanomaly #4c69f1 ≈ 1.08% of males
Deuteranomaly #5166ec ≈ 4.63% of males
Tritanomaly #7b69c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a51ee  rgb(138, 81, 238)  hsl(262, 82%, 63%)  Medium Slate Blue
#b5ee51  rgb(181, 238, 81)  hsl(82, 82%, 63%)  Inchworm
#ee8a51  rgb(238, 138, 81)  hsl(22, 82%, 63%)  Mango Tango
#51ee8a  rgb(81, 238, 138)  hsl(142, 82%, 63%)  Medium Spring Green