#8A52EF

#8a52ef ≈ Medium Slate Blue

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

#8a52ef is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 32.16% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 65.69% magenta, 0% yellow and 6.27% black. Its hue angle is 261.4°, with 83.07% saturation and 62.94% 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.63:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.26.

Description generated from the measured properties of this color.

Conversions of #8a52ef 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.1767

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #7e68b3 ≈ 0.001% of males
Protanopia #0076f4 ≈ 1.01% of males
Deuteranopia #0072ec ≈ 1.27% of males
Tritanopia #6f779a ≈ 0.0001% of males
Protanomaly #4c69f2 ≈ 1.08% of males
Deuteranomaly #5167ed ≈ 4.63% of males
Tritanomaly #7b6ac2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Slate Blue
#8a52ef  rgb(138, 82, 239)  hsl(261, 83%, 63%)  Medium Slate Blue
#b7ef52  rgb(183, 239, 82)  hsl(81, 83%, 63%)  Inchworm
#ef8a52  rgb(239, 138, 82)  hsl(21, 83%, 63%)  Mango Tango
#52ef8a  rgb(82, 239, 138)  hsl(141, 83%, 63%)  Medium Spring Green