#7A5CA7

#7a5ca7 ≈ Royal Purple

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

#7a5ca7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 36.08% green and 65.49% blue; printed in CMYK it uses 26.95% cyan, 44.91% magenta, 0% yellow and 34.51% black. Its hue angle is 264°, with 29.88% saturation and 50.78% 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 3.6.

Description generated from the measured properties of this color.

Conversions of #7a5ca7 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.1458

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

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #716587 ≈ 0.001% of males
Protanopia #476aaa ≈ 1.01% of males
Deuteranopia #4e6aa5 ≈ 1.27% of males
Tritanopia #726979 ≈ 0.0001% of males
Protanomaly #6065a9 ≈ 1.08% of males
Deuteranomaly #6265a6 ≈ 4.63% of males
Tritanomaly #75648e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a5ca7 {
  color: #7a5ca7;
}
Background
.bg-7a5ca7 {
  background-color: #7a5ca7;
  color: #ffffff;
}
Border
.border-7a5ca7 {
  border: 2px solid #7a5ca7;
}
CSS variables
:root {
  --color-primary: #7a5ca7;
  --color-primary-rgb: 122 92 167;
  --color-primary-hsl: 264 30% 51%;
}
Gradient
.gradient-7a5ca7 {
  background: linear-gradient(135deg, #7a5ca7, #9f5ca7);
}
Colored shadow
.shadow-7a5ca7 {
  box-shadow: 0 8px 24px rgb(122 92 167 / 0.35);
}

Royal Purple
#7a5ca7  rgb(122, 92, 167)  hsl(264, 30%, 51%)  Royal Purple
#89a75c  rgb(137, 167, 92)  hsl(84, 30%, 51%)  Asparagus
#a77a5c  rgb(167, 122, 92)  hsl(24, 30%, 51%)  Cafe au Lait
#5ca77a  rgb(92, 167, 122)  hsl(144, 30%, 51%)  Mint