#8A52D2

#8a52d2 ≈ Slate Blue

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8a52d2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 54.12% red, 32.16% green and 82.35% blue; printed in CMYK it uses 34.29% cyan, 60.95% magenta, 0% yellow and 17.65% black. Its hue angle is 266.25°, with 58.72% saturation and 57.25% 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. White text on this color reaches a contrast ratio of 4.98:1 (WCAG AA). The closest named color is Slate Blue (#6a5acd), ΔE 6.5.

Description generated from the measured properties of this color.

Conversions of #8a52d2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9966cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1609

Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #7b65a1 ≈ 0.001% of males
Protanopia #006fd6 ≈ 1.01% of males
Deuteranopia #266fcf ≈ 1.27% of males
Tritanopia #7b6d8a ≈ 0.0001% of males
Protanomaly #5965d4 ≈ 1.08% of males
Deuteranomaly #5e65d0 ≈ 4.63% of males
Tritanomaly #8163ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a52d2 {
  color: #8a52d2;
}
Background
.bg-8a52d2 {
  background-color: #8a52d2;
  color: #ffffff;
}
Border
.border-8a52d2 {
  border: 2px solid #8a52d2;
}
CSS variables
:root {
  --color-primary: #8a52d2;
  --color-primary-rgb: 138 82 210;
  --color-primary-hsl: 266 59% 57%;
}
Gradient
.gradient-8a52d2 {
  background: linear-gradient(135deg, #8a52d2, #ca52d2);
}
Colored shadow
.shadow-8a52d2 {
  box-shadow: 0 8px 24px rgb(138 82 210 / 0.35);
}

Slate Blue
#8a52d2  rgb(138, 82, 210)  hsl(266, 59%, 57%)  Slate Blue
#9ad252  rgb(154, 210, 82)  hsl(86, 59%, 57%)  Yellow Green
#d28a52  rgb(210, 138, 82)  hsl(26, 59%, 57%)  Persian Orange
#52d28a  rgb(82, 210, 138)  hsl(146, 59%, 57%)  Emerald