#7A5EA4

#7a5ea4 ≈ Royal Purple

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

#7a5ea4 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 36.86% green and 64.31% blue; printed in CMYK it uses 25.61% cyan, 42.68% magenta, 0% yellow and 35.69% black. Its hue angle is 264°, with 27.78% saturation and 50.59% 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.3:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #7a5ea4 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.1482

Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #726686 ≈ 0.001% of males
Protanopia #4c6ba7 ≈ 1.01% of males
Deuteranopia #516ba2 ≈ 1.27% of males
Tritanopia #726a79 ≈ 0.0001% of males
Protanomaly #6166a6 ≈ 1.08% of males
Deuteranomaly #6466a3 ≈ 4.63% of males
Tritanomaly #75658c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a5ea4 {
  color: #7a5ea4;
}
Background
.bg-7a5ea4 {
  background-color: #7a5ea4;
  color: #ffffff;
}
Border
.border-7a5ea4 {
  border: 2px solid #7a5ea4;
}
CSS variables
:root {
  --color-primary: #7a5ea4;
  --color-primary-rgb: 122 94 164;
  --color-primary-hsl: 264 28% 51%;
}
Gradient
.gradient-7a5ea4 {
  background: linear-gradient(135deg, #7a5ea4, #9d5ea4);
}
Colored shadow
.shadow-7a5ea4 {
  box-shadow: 0 8px 24px rgb(122 94 164 / 0.35);
}

Royal Purple
#7a5ea4  rgb(122, 94, 164)  hsl(264, 28%, 51%)  Royal Purple
#88a45e  rgb(136, 164, 94)  hsl(84, 28%, 51%)  Asparagus
#a47a5e  rgb(164, 122, 94)  hsl(24, 28%, 51%)  Cafe au Lait
#5ea47a  rgb(94, 164, 122)  hsl(144, 28%, 51%)  Mint