#7D5AAA

#7d5aaa ≈ Royal Purple

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

#7d5aaa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.02% red, 35.29% green and 66.67% blue; printed in CMYK it uses 26.47% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 266.25°, with 32% saturation and 50.98% 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.36:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.92.

Description generated from the measured properties of this color.

Conversions of #7d5aaa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1457

Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.91:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #726489 ≈ 0.001% of males
Protanopia #436aad ≈ 1.01% of males
Deuteranopia #4c6aa8 ≈ 1.27% of males
Tritanopia #75687a ≈ 0.0001% of males
Protanomaly #6064ac ≈ 1.08% of males
Deuteranomaly #6364a9 ≈ 4.63% of males
Tritanomaly #786390 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d5aaa {
  color: #7d5aaa;
}
Background
.bg-7d5aaa {
  background-color: #7d5aaa;
  color: #ffffff;
}
Border
.border-7d5aaa {
  border: 2px solid #7d5aaa;
}
CSS variables
:root {
  --color-primary: #7d5aaa;
  --color-primary-rgb: 125 90 170;
  --color-primary-hsl: 266 32% 51%;
}
Gradient
.gradient-7d5aaa {
  background: linear-gradient(135deg, #7d5aaa, #a55aaa);
}
Colored shadow
.shadow-7d5aaa {
  box-shadow: 0 8px 24px rgb(125 90 170 / 0.35);
}

Royal Purple
#7d5aaa  rgb(125, 90, 170)  hsl(266, 32%, 51%)  Royal Purple
#87aa5a  rgb(135, 170, 90)  hsl(86, 32%, 51%)  Asparagus
#aa7d5a  rgb(170, 125, 90)  hsl(26, 32%, 51%)  Cafe au Lait
#5aaa7d  rgb(90, 170, 125)  hsl(146, 32%, 51%)  Mint