#7C4EAC

#7c4eac ≈ Royal Purple

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

#7c4eac 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 67.45% blue; printed in CMYK it uses 27.91% cyan, 54.65% magenta, 0% yellow and 32.55% black. Its hue angle is 269.36°, with 37.6% saturation and 49.02% 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.93:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.31.

Description generated from the measured properties of this color.

Conversions of #7c4eac 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.1271

Readable text 5.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.54:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #6e5c87 ≈ 0.001% of males
Protanopia #2d63af ≈ 1.01% of males
Deuteranopia #3c64aa ≈ 1.27% of males
Tritanopia #746075 ≈ 0.0001% of males
Protanomaly #585bae ≈ 1.08% of males
Deuteranomaly #5c5cab ≈ 4.63% of males
Tritanomaly #77598e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c4eac {
  color: #7c4eac;
}
Background
.bg-7c4eac {
  background-color: #7c4eac;
  color: #ffffff;
}
Border
.border-7c4eac {
  border: 2px solid #7c4eac;
}
CSS variables
:root {
  --color-primary: #7c4eac;
  --color-primary-rgb: 124 78 172;
  --color-primary-hsl: 269 38% 49%;
}
Gradient
.gradient-7c4eac {
  background: linear-gradient(135deg, #7c4eac, #ab4eac);
}
Colored shadow
.shadow-7c4eac {
  box-shadow: 0 8px 24px rgb(124 78 172 / 0.35);
}

Royal Purple
#7c4eac  rgb(124, 78, 172)  hsl(269, 38%, 49%)  Royal Purple
#7eac4e  rgb(126, 172, 78)  hsl(89, 38%, 49%)  Asparagus
#ac7c4e  rgb(172, 124, 78)  hsl(29, 38%, 49%)  Cafe au Lait
#4eac7c  rgb(78, 172, 124)  hsl(149, 38%, 49%)  Mint