#7A4E97

#7a4e97 ≈ Royal Purple

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

#7a4e97 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 30.59% green and 59.22% blue; printed in CMYK it uses 19.21% cyan, 48.34% magenta, 0% yellow and 40.78% black. Its hue angle is 276.16°, with 31.88% saturation and 44.9% 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 6.24:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #7a4e97 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.1182

Readable text 6.24:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #606060 ≈ 0.003% of males
Achromatomaly #6c5a7a ≈ 0.001% of males
Protanopia #3d5e9a ≈ 1.01% of males
Deuteranopia #496195 ≈ 1.27% of males
Tritanopia #775a6b ≈ 0.0001% of males
Protanomaly #5b5899 ≈ 1.08% of males
Deuteranomaly #605a96 ≈ 4.63% of males
Tritanomaly #78557f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a4e97 {
  color: #7a4e97;
}
Background
.bg-7a4e97 {
  background-color: #7a4e97;
  color: #ffffff;
}
Border
.border-7a4e97 {
  border: 2px solid #7a4e97;
}
CSS variables
:root {
  --color-primary: #7a4e97;
  --color-primary-rgb: 122 78 151;
  --color-primary-hsl: 276 32% 45%;
}
Gradient
.gradient-7a4e97 {
  background: linear-gradient(135deg, #7a4e97, #974e90);
}
Colored shadow
.shadow-7a4e97 {
  box-shadow: 0 8px 24px rgb(122 78 151 / 0.35);
}

Royal Purple
#7a4e97  rgb(122, 78, 151)  hsl(276, 32%, 45%)  Royal Purple
#6b974e  rgb(107, 151, 78)  hsl(96, 32%, 45%)  Moss Green
#977a4e  rgb(151, 122, 78)  hsl(36, 32%, 45%)  Cafe au Lait
#4e977a  rgb(78, 151, 122)  hsl(156, 32%, 45%)  Jungle Green