#7A51BB

#7a51bb ≈ Royal Purple

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

#7a51bb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.84% red, 31.76% green and 73.33% blue; printed in CMYK it uses 34.76% cyan, 56.68% magenta, 0% yellow and 26.67% black. Its hue angle is 263.21°, with 43.8% saturation and 52.55% 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.64:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.19.

Description generated from the measured properties of this color.

Conversions of #7a51bb 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.1361

Readable text 5.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.72:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #676767 ≈ 0.003% of males
Achromatomaly #6f5f90 ≈ 0.001% of males
Protanopia #2067bf ≈ 1.01% of males
Deuteranopia #3066b9 ≈ 1.27% of males
Tritanopia #6c677e ≈ 0.0001% of males
Protanomaly #535fbd ≈ 1.08% of males
Deuteranomaly #575eba ≈ 4.63% of males
Tritanomaly #725f9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7a51bb {
  color: #7a51bb;
}
Background
.bg-7a51bb {
  background-color: #7a51bb;
  color: #ffffff;
}
Border
.border-7a51bb {
  border: 2px solid #7a51bb;
}
CSS variables
:root {
  --color-primary: #7a51bb;
  --color-primary-rgb: 122 81 187;
  --color-primary-hsl: 263 44% 53%;
}
Gradient
.gradient-7a51bb {
  background: linear-gradient(135deg, #7a51bb, #af51bb);
}
Colored shadow
.shadow-7a51bb {
  box-shadow: 0 8px 24px rgb(122 81 187 / 0.35);
}

Royal Purple
#7a51bb  rgb(122, 81, 187)  hsl(263, 44%, 53%)  Royal Purple
#92bb51  rgb(146, 187, 81)  hsl(83, 44%, 53%)  Pistachio
#bb7a51  rgb(187, 122, 81)  hsl(23, 44%, 53%)  Cafe au Lait
#51bb7a  rgb(81, 187, 122)  hsl(143, 44%, 53%)  Medium Sea Green