#7A5197

#7a5197 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7a5197 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.1226

Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6c5c7b ≈ 0.001% of males
Protanopia #41609a ≈ 1.01% of males
Deuteranopia #4c6395 ≈ 1.27% of males
Tritanopia #765c6d ≈ 0.0001% of males
Protanomaly #5d5b99 ≈ 1.08% of males
Deuteranomaly #625c96 ≈ 4.63% of males
Tritanomaly #785880 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7a5197  rgb(122, 81, 151)  hsl(275, 30%, 45%)  Royal Purple
#6e9751  rgb(110, 151, 81)  hsl(95, 30%, 45%)  Moss Green
#977a51  rgb(151, 122, 81)  hsl(35, 30%, 45%)  Cafe au Lait
#51977a  rgb(81, 151, 122)  hsl(155, 30%, 45%)  Jungle Green