#8E40A9

#8e40a9 ≈ Purpureus

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

#8e40a9 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 55.69% red, 25.1% green and 66.27% blue; printed in CMYK it uses 15.98% cyan, 62.13% magenta, 0% yellow and 33.73% black. Its hue angle is 284.57°, with 45.06% saturation and 45.69% 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 6.08:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.44.

Description generated from the measured properties of this color.

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

Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #765784 ≈ 0.001% of males
Protanopia #1f5dac ≈ 1.01% of males
Deuteranopia #4165a6 ≈ 1.27% of males
Tritanopia #8d526e ≈ 0.0001% of males
Protanomaly #6053ab ≈ 1.08% of males
Deuteranomaly #6958a7 ≈ 4.63% of males
Tritanomaly #8d4c8a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8e40a9 {
  color: #8e40a9;
}
Background
.bg-8e40a9 {
  background-color: #8e40a9;
  color: #ffffff;
}
Border
.border-8e40a9 {
  border: 2px solid #8e40a9;
}
CSS variables
:root {
  --color-primary: #8e40a9;
  --color-primary-rgb: 142 64 169;
  --color-primary-hsl: 285 45% 46%;
}
Gradient
.gradient-8e40a9 {
  background: linear-gradient(135deg, #8e40a9, #a94090);
}
Colored shadow
.shadow-8e40a9 {
  box-shadow: 0 8px 24px rgb(142 64 169 / 0.35);
}

Purpureus
#8e40a9  rgb(142, 64, 169)  hsl(285, 45%, 46%)  Purpureus
#5ba940  rgb(91, 169, 64)  hsl(105, 45%, 46%)  Kelly Green
#a98e40  rgb(169, 142, 64)  hsl(45, 45%, 46%)  Dark Goldenrod
#40a98e  rgb(64, 169, 142)  hsl(165, 45%, 46%)  Jungle Green