#7D4E97

#7d4e97 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7d4e97 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.1204

Readable text 6.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.41: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 #4b6295 ≈ 1.27% of males
Tritanopia #7a596b ≈ 0.0001% of males
Protanomaly #5e5999 ≈ 1.08% of males
Deuteranomaly #635b96 ≈ 4.63% of males
Tritanomaly #7c557f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7d4e97  rgb(125, 78, 151)  hsl(279, 32%, 45%)  Royal Purple
#68974e  rgb(104, 151, 78)  hsl(99, 32%, 45%)  Moss Green
#977d4e  rgb(151, 125, 78)  hsl(39, 32%, 45%)  Cafe au Lait
#4e977d  rgb(78, 151, 125)  hsl(159, 32%, 45%)  Jungle Green