#8A5BB4

#8a5bb4 ≈ Royal Purple

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

#8a5bb4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 35.69% green and 70.59% blue; printed in CMYK it uses 23.33% cyan, 49.44% magenta, 0% yellow and 29.41% black. Its hue angle is 271.69°, with 37.24% saturation and 53.14% 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.96:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.8.

Description generated from the measured properties of this color.

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

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #7b6890 ≈ 0.001% of males
Protanopia #436eb7 ≈ 1.01% of males
Deuteranopia #5070b2 ≈ 1.27% of males
Tritanopia #846a7f ≈ 0.0001% of males
Protanomaly #6767b6 ≈ 1.08% of males
Deuteranomaly #6c68b3 ≈ 4.63% of males
Tritanomaly #866497 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5bb4 {
  color: #8a5bb4;
}
Background
.bg-8a5bb4 {
  background-color: #8a5bb4;
  color: #ffffff;
}
Border
.border-8a5bb4 {
  border: 2px solid #8a5bb4;
}
CSS variables
:root {
  --color-primary: #8a5bb4;
  --color-primary-rgb: 138 91 180;
  --color-primary-hsl: 272 37% 53%;
}
Gradient
.gradient-8a5bb4 {
  background: linear-gradient(135deg, #8a5bb4, #b45bb1);
}
Colored shadow
.shadow-8a5bb4 {
  box-shadow: 0 8px 24px rgb(138 91 180 / 0.35);
}

Royal Purple
#8a5bb4  rgb(138, 91, 180)  hsl(272, 37%, 53%)  Royal Purple
#85b45b  rgb(133, 180, 91)  hsl(92, 37%, 53%)  Olivine
#b48a5b  rgb(180, 138, 91)  hsl(32, 37%, 53%)  Camel
#5bb48a  rgb(91, 180, 138)  hsl(152, 37%, 53%)  Mint