#7E4FC0

#7e4fc0 ≈ Royal Purple

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

#7e4fc0 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.98% green and 75.29% blue; printed in CMYK it uses 34.37% cyan, 58.85% magenta, 0% yellow and 24.71% black. Its hue angle is 264.96°, with 47.28% saturation and 53.14% 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 5.58: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 #7e4fc0 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6666cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1383

Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #715f93 ≈ 0.001% of males
Protanopia #1268c4 ≈ 1.01% of males
Deuteranopia #2b67bd ≈ 1.27% of males
Tritanopia #706680 ≈ 0.0001% of males
Protanomaly #535fc2 ≈ 1.08% of males
Deuteranomaly #585ebe ≈ 4.63% of males
Tritanomaly #765e9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e4fc0 {
  color: #7e4fc0;
}
Background
.bg-7e4fc0 {
  background-color: #7e4fc0;
  color: #ffffff;
}
Border
.border-7e4fc0 {
  border: 2px solid #7e4fc0;
}
CSS variables
:root {
  --color-primary: #7e4fc0;
  --color-primary-rgb: 126 79 192;
  --color-primary-hsl: 265 47% 53%;
}
Gradient
.gradient-7e4fc0 {
  background: linear-gradient(135deg, #7e4fc0, #b74fc0);
}
Colored shadow
.shadow-7e4fc0 {
  box-shadow: 0 8px 24px rgb(126 79 192 / 0.35);
}

Royal Purple
#7e4fc0  rgb(126, 79, 192)  hsl(265, 47%, 53%)  Royal Purple
#91c04f  rgb(145, 192, 79)  hsl(85, 47%, 53%)  Pistachio
#c07e4f  rgb(192, 126, 79)  hsl(25, 47%, 53%)  Raw Sienna
#4fc07e  rgb(79, 192, 126)  hsl(145, 47%, 53%)  Emerald