#8A5FA7

#8a5fa7 ≈ Purpureus

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

#8a5fa7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 54.12% red, 37.25% green and 65.49% blue; printed in CMYK it uses 17.37% cyan, 43.11% magenta, 0% yellow and 34.51% black. Its hue angle is 275.83°, with 29.03% saturation and 51.37% 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.91:1 (WCAG AA). The closest named color is Purpureus (#9a4eae), ΔE 5.73.

Description generated from the measured properties of this color.

Conversions of #8a5fa7 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.1638

Readable text 4.91:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.28:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #7c6a8a ≈ 0.001% of males
Protanopia #506eaa ≈ 1.01% of males
Deuteranopia #5b71a5 ≈ 1.27% of males
Tritanopia #876a7b ≈ 0.0001% of males
Protanomaly #6c69a9 ≈ 1.08% of males
Deuteranomaly #716ba6 ≈ 4.63% of males
Tritanomaly #88668f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8a5fa7 {
  color: #8a5fa7;
}
Background
.bg-8a5fa7 {
  background-color: #8a5fa7;
  color: #ffffff;
}
Border
.border-8a5fa7 {
  border: 2px solid #8a5fa7;
}
CSS variables
:root {
  --color-primary: #8a5fa7;
  --color-primary-rgb: 138 95 167;
  --color-primary-hsl: 276 29% 51%;
}
Gradient
.gradient-8a5fa7 {
  background: linear-gradient(135deg, #8a5fa7, #a75fa0);
}
Colored shadow
.shadow-8a5fa7 {
  box-shadow: 0 8px 24px rgb(138 95 167 / 0.35);
}

Purpureus
#8a5fa7  rgb(138, 95, 167)  hsl(276, 29%, 51%)  Purpureus
#7ca75f  rgb(124, 167, 95)  hsl(96, 29%, 51%)  Asparagus
#a78a5f  rgb(167, 138, 95)  hsl(36, 29%, 51%)  Camel
#5fa78a  rgb(95, 167, 138)  hsl(156, 29%, 51%)  Jungle Green