#8A4CB5

#8a4cb5 ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#8a4cb5 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 29.8% green and 70.98% blue; printed in CMYK it uses 23.76% cyan, 58.01% magenta, 0% yellow and 29.02% black. Its hue angle is 275.43°, with 41.5% saturation and 50.39% 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 5.55:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.1.

Description generated from the measured properties of this color.

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

Readable text 5.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.78:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #775e8d ≈ 0.001% of males
Protanopia #2766b8 ≈ 1.01% of males
Deuteranopia #3f69b2 ≈ 1.27% of males
Tritanopia #845f79 ≈ 0.0001% of males
Protanomaly #5f5cb7 ≈ 1.08% of males
Deuteranomaly #665fb3 ≈ 4.63% of males
Tritanomaly #865895 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a4cb5 {
  color: #8a4cb5;
}
Background
.bg-8a4cb5 {
  background-color: #8a4cb5;
  color: #ffffff;
}
Border
.border-8a4cb5 {
  border: 2px solid #8a4cb5;
}
CSS variables
:root {
  --color-primary: #8a4cb5;
  --color-primary-rgb: 138 76 181;
  --color-primary-hsl: 275 42% 50%;
}
Gradient
.gradient-8a4cb5 {
  background: linear-gradient(135deg, #8a4cb5, #b54cab);
}
Colored shadow
.shadow-8a4cb5 {
  box-shadow: 0 8px 24px rgb(138 76 181 / 0.35);
}

Royal Purple
#8a4cb5  rgb(138, 76, 181)  hsl(275, 42%, 50%)  Royal Purple
#77b54c  rgb(119, 181, 76)  hsl(95, 42%, 50%)  Mantis
#b58a4c  rgb(181, 138, 76)  hsl(35, 42%, 50%)  Camel
#4cb58a  rgb(76, 181, 138)  hsl(155, 42%, 50%)  Mint