#7A4ABA

#7a4aba ≈ Royal Purple

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

#7a4aba is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 29.02% green and 72.94% blue; printed in CMYK it uses 34.41% cyan, 60.22% magenta, 0% yellow and 27.06% black. Its hue angle is 265.71°, with 44.8% saturation and 50.98% 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.97:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.65.

Description generated from the measured properties of this color.

Conversions of #7a4aba into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1258

Readable text 5.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6d5a8e ≈ 0.001% of males
Protanopia #0463be ≈ 1.01% of males
Deuteranopia #2563b7 ≈ 1.27% of males
Tritanopia #6c627b ≈ 0.0001% of males
Protanomaly #4f5abc ≈ 1.08% of males
Deuteranomaly #545ab9 ≈ 4.63% of males
Tritanomaly #725998 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a4aba {
  color: #7a4aba;
}
Background
.bg-7a4aba {
  background-color: #7a4aba;
  color: #ffffff;
}
Border
.border-7a4aba {
  border: 2px solid #7a4aba;
}
CSS variables
:root {
  --color-primary: #7a4aba;
  --color-primary-rgb: 122 74 186;
  --color-primary-hsl: 266 45% 51%;
}
Gradient
.gradient-7a4aba {
  background: linear-gradient(135deg, #7a4aba, #b24aba);
}
Colored shadow
.shadow-7a4aba {
  box-shadow: 0 8px 24px rgb(122 74 186 / 0.35);
}

Royal Purple
#7a4aba  rgb(122, 74, 186)  hsl(266, 45%, 51%)  Royal Purple
#8aba4a  rgb(138, 186, 74)  hsl(86, 45%, 51%)  Pistachio
#ba7a4a  rgb(186, 122, 74)  hsl(26, 45%, 51%)  Copper
#4aba7a  rgb(74, 186, 122)  hsl(146, 45%, 51%)  Medium Sea Green