#7E4DA2

#7e4da2 ≈ Royal Purple

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

#7e4da2 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.2% green and 63.53% blue; printed in CMYK it uses 22.22% cyan, 52.47% magenta, 0% yellow and 36.47% black. Its hue angle is 274.59°, with 35.56% saturation and 46.86% 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.05:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.49.

Description generated from the measured properties of this color.

Conversions of #7e4da2 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.1235

Readable text 6.05:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6f5b81 ≈ 0.001% of males
Protanopia #3560a5 ≈ 1.01% of males
Deuteranopia #4463a0 ≈ 1.27% of males
Tritanopia #795c70 ≈ 0.0001% of males
Protanomaly #5b59a4 ≈ 1.08% of males
Deuteranomaly #615ba1 ≈ 4.63% of males
Tritanomaly #7b5687 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e4da2 {
  color: #7e4da2;
}
Background
.bg-7e4da2 {
  background-color: #7e4da2;
  color: #ffffff;
}
Border
.border-7e4da2 {
  border: 2px solid #7e4da2;
}
CSS variables
:root {
  --color-primary: #7e4da2;
  --color-primary-rgb: 126 77 162;
  --color-primary-hsl: 275 36% 47%;
}
Gradient
.gradient-7e4da2 {
  background: linear-gradient(135deg, #7e4da2, #a24d9b);
}
Colored shadow
.shadow-7e4da2 {
  box-shadow: 0 8px 24px rgb(126 77 162 / 0.35);
}

Royal Purple
#7e4da2  rgb(126, 77, 162)  hsl(275, 36%, 47%)  Royal Purple
#71a24d  rgb(113, 162, 77)  hsl(95, 36%, 47%)  Asparagus
#a27e4d  rgb(162, 126, 77)  hsl(35, 36%, 47%)  Cafe au Lait
#4da27e  rgb(77, 162, 126)  hsl(155, 36%, 47%)  Jungle Green