#7B4FA2

#7b4fa2 ≈ Royal Purple

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

#7b4fa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.24% red, 30.98% green and 63.53% blue; printed in CMYK it uses 24.07% cyan, 51.23% magenta, 0% yellow and 36.47% black. Its hue angle is 271.81°, with 34.44% saturation and 47.25% 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 6.03:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.81.

Description generated from the measured properties of this color.

Conversions of #7b4fa2 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.1241

Readable text 6.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6d5b81 ≈ 0.001% of males
Protanopia #3761a5 ≈ 1.01% of males
Deuteranopia #4463a0 ≈ 1.27% of males
Tritanopia #755d71 ≈ 0.0001% of males
Protanomaly #5a5aa4 ≈ 1.08% of males
Deuteranomaly #5f5ca1 ≈ 4.63% of males
Tritanomaly #775887 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7b4fa2 {
  color: #7b4fa2;
}
Background
.bg-7b4fa2 {
  background-color: #7b4fa2;
  color: #ffffff;
}
Border
.border-7b4fa2 {
  border: 2px solid #7b4fa2;
}
CSS variables
:root {
  --color-primary: #7b4fa2;
  --color-primary-rgb: 123 79 162;
  --color-primary-hsl: 272 34% 47%;
}
Gradient
.gradient-7b4fa2 {
  background: linear-gradient(135deg, #7b4fa2, #a24f9f);
}
Colored shadow
.shadow-7b4fa2 {
  box-shadow: 0 8px 24px rgb(123 79 162 / 0.35);
}

Royal Purple
#7b4fa2  rgb(123, 79, 162)  hsl(272, 34%, 47%)  Royal Purple
#76a24f  rgb(118, 162, 79)  hsl(92, 34%, 47%)  Asparagus
#a27b4f  rgb(162, 123, 79)  hsl(32, 34%, 47%)  Cafe au Lait
#4fa27b  rgb(79, 162, 123)  hsl(152, 34%, 47%)  Jungle Green