#7E4E97

#7e4e97 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7e4e97 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.1212

Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #6e5a7b ≈ 0.001% of males
Protanopia #3e5f9a ≈ 1.01% of males
Deuteranopia #4c6395 ≈ 1.27% of males
Tritanopia #7c596b ≈ 0.0001% of males
Protanomaly #5e5999 ≈ 1.08% of males
Deuteranomaly #645b96 ≈ 4.63% of males
Tritanomaly #7d557f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7e4e97  rgb(126, 78, 151)  hsl(279, 32%, 45%)  Royal Purple
#67974e  rgb(103, 151, 78)  hsl(99, 32%, 45%)  Olive Drab
#977e4e  rgb(151, 126, 78)  hsl(39, 32%, 45%)  Cafe au Lait
#4e977e  rgb(78, 151, 126)  hsl(159, 32%, 45%)  Jungle Green