#8B40A7

#8b40a7 ≈ Purpureus

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

#8b40a7 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 54.51% red, 25.1% green and 65.49% blue; printed in CMYK it uses 16.77% cyan, 61.68% magenta, 0% yellow and 34.51% black. Its hue angle is 283.69°, with 44.59% saturation and 45.29% 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.2:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #8b40a7 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.1195

Readable text 6.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #745683 ≈ 0.001% of males
Protanopia #205caa ≈ 1.01% of males
Deuteranopia #4063a4 ≈ 1.27% of males
Tritanopia #89526d ≈ 0.0001% of males
Protanomaly #5e53a9 ≈ 1.08% of males
Deuteranomaly #6657a5 ≈ 4.63% of males
Tritanomaly #8a4b88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purpureus
#8b40a7  rgb(139, 64, 167)  hsl(284, 45%, 45%)  Purpureus
#5ca740  rgb(92, 167, 64)  hsl(104, 45%, 45%)  Kelly Green
#a78b40  rgb(167, 139, 64)  hsl(44, 45%, 45%)  Dark Goldenrod
#40a78b  rgb(64, 167, 139)  hsl(164, 45%, 45%)  Jungle Green