#8A52A6

#8a52a6 ≈ Purpureus

  • magenta
  • Lightness: medium
  • Saturation: moderate
  • Cool

#8a52a6 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 32.16% green and 65.1% blue; printed in CMYK it uses 16.87% cyan, 50.6% magenta, 0% yellow and 34.9% black. Its hue angle is 280°, with 33.87% saturation and 48.63% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.47:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 3.37.

Description generated from the measured properties of this color.

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

Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #786186 ≈ 0.001% of males
Protanopia #3f66a9 ≈ 1.01% of males
Deuteranopia #4f6ba4 ≈ 1.27% of males
Tritanopia #885f74 ≈ 0.0001% of males
Protanomaly #655fa8 ≈ 1.08% of males
Deuteranomaly #6c62a5 ≈ 4.63% of males
Tritanomaly #895a8b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a52a6 {
  color: #8a52a6;
}
Background
.bg-8a52a6 {
  background-color: #8a52a6;
  color: #ffffff;
}
Border
.border-8a52a6 {
  border: 2px solid #8a52a6;
}
CSS variables
:root {
  --color-primary: #8a52a6;
  --color-primary-rgb: 138 82 166;
  --color-primary-hsl: 280 34% 49%;
}
Gradient
.gradient-8a52a6 {
  background: linear-gradient(135deg, #8a52a6, #a65298);
}
Colored shadow
.shadow-8a52a6 {
  box-shadow: 0 8px 24px rgb(138 82 166 / 0.35);
}

Purpureus
#8a52a6  rgb(138, 82, 166)  hsl(280, 34%, 49%)  Purpureus
#6ea652  rgb(110, 166, 82)  hsl(100, 34%, 49%)  Asparagus
#a68a52  rgb(166, 138, 82)  hsl(40, 34%, 49%)  Camel
#52a68a  rgb(82, 166, 138)  hsl(160, 34%, 49%)  Jungle Green