#7A5FA4

#7a5fa4 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7a5fa4 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.15

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #726786 ≈ 0.001% of males
Protanopia #4d6ca7 ≈ 1.01% of males
Deuteranopia #526ca2 ≈ 1.27% of males
Tritanopia #726b79 ≈ 0.0001% of males
Protanomaly #6267a6 ≈ 1.08% of males
Deuteranomaly #6567a3 ≈ 4.63% of males
Tritanomaly #75668c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7a5fa4  rgb(122, 95, 164)  hsl(263, 27%, 51%)  Royal Purple
#89a45f  rgb(137, 164, 95)  hsl(83, 27%, 51%)  Asparagus
#a47a5f  rgb(164, 122, 95)  hsl(23, 27%, 51%)  Cafe au Lait
#5fa47a  rgb(95, 164, 122)  hsl(143, 27%, 51%)  Mint