#7C4E97

#7c4e97 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7c4e97 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.1197

Readable text 6.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #616161 ≈ 0.003% of males
Achromatomaly #6d5a7a ≈ 0.001% of males
Protanopia #3e5f9a ≈ 1.01% of males
Deuteranopia #4a6295 ≈ 1.27% of males
Tritanopia #79596b ≈ 0.0001% of males
Protanomaly #5d5899 ≈ 1.08% of males
Deuteranomaly #625b96 ≈ 4.63% of males
Tritanomaly #7a557f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7c4e97  rgb(124, 78, 151)  hsl(278, 32%, 45%)  Royal Purple
#69974e  rgb(105, 151, 78)  hsl(98, 32%, 45%)  Moss Green
#977c4e  rgb(151, 124, 78)  hsl(38, 32%, 45%)  Cafe au Lait
#4e977c  rgb(78, 151, 124)  hsl(158, 32%, 45%)  Jungle Green