#8A5EB2

#8a5eb2 ≈ Royal Purple

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

#8a5eb2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 36.86% green and 69.8% blue; printed in CMYK it uses 22.47% cyan, 47.19% magenta, 0% yellow and 30.2% black. Its hue angle is 271.43°, with 35.29% saturation and 53.33% 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.86:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.38.

Description generated from the measured properties of this color.

Conversions of #8a5eb2 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.1662

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #7c6a90 ≈ 0.001% of males
Protanopia #4870b5 ≈ 1.01% of males
Deuteranopia #5472b0 ≈ 1.27% of males
Tritanopia #846c7f ≈ 0.0001% of males
Protanomaly #6969b4 ≈ 1.08% of males
Deuteranomaly #6e6ab1 ≈ 4.63% of males
Tritanomaly #866796 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5eb2 {
  color: #8a5eb2;
}
Background
.bg-8a5eb2 {
  background-color: #8a5eb2;
  color: #ffffff;
}
Border
.border-8a5eb2 {
  border: 2px solid #8a5eb2;
}
CSS variables
:root {
  --color-primary: #8a5eb2;
  --color-primary-rgb: 138 94 178;
  --color-primary-hsl: 271 35% 53%;
}
Gradient
.gradient-8a5eb2 {
  background: linear-gradient(135deg, #8a5eb2, #b25eb0);
}
Colored shadow
.shadow-8a5eb2 {
  box-shadow: 0 8px 24px rgb(138 94 178 / 0.35);
}

Royal Purple
#8a5eb2  rgb(138, 94, 178)  hsl(271, 35%, 53%)  Royal Purple
#86b25e  rgb(134, 178, 94)  hsl(91, 35%, 53%)  Olivine
#b28a5e  rgb(178, 138, 94)  hsl(31, 35%, 53%)  Camel
#5eb28a  rgb(94, 178, 138)  hsl(151, 35%, 53%)  Mint