#7B51B3

#7b51b3 ≈ Royal Purple

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

#7b51b3 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.24% red, 31.76% green and 70.2% blue; printed in CMYK it uses 31.28% cyan, 54.75% magenta, 0% yellow and 29.8% black. Its hue angle is 265.71°, with 39.2% 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.72:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 1.8.

Description generated from the measured properties of this color.

Conversions of #7b51b3 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.1335

Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #6f5e8c ≈ 0.001% of males
Protanopia #2b66b6 ≈ 1.01% of males
Deuteranopia #3966b1 ≈ 1.27% of males
Tritanopia #70647a ≈ 0.0001% of males
Protanomaly #565eb5 ≈ 1.08% of males
Deuteranomaly #5b5eb2 ≈ 4.63% of males
Tritanomaly #755d94 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7b51b3 {
  color: #7b51b3;
}
Background
.bg-7b51b3 {
  background-color: #7b51b3;
  color: #ffffff;
}
Border
.border-7b51b3 {
  border: 2px solid #7b51b3;
}
CSS variables
:root {
  --color-primary: #7b51b3;
  --color-primary-rgb: 123 81 179;
  --color-primary-hsl: 266 39% 51%;
}
Gradient
.gradient-7b51b3 {
  background: linear-gradient(135deg, #7b51b3, #ac51b3);
}
Colored shadow
.shadow-7b51b3 {
  box-shadow: 0 8px 24px rgb(123 81 179 / 0.35);
}

Royal Purple
#7b51b3  rgb(123, 81, 179)  hsl(266, 39%, 51%)  Royal Purple
#89b351  rgb(137, 179, 81)  hsl(86, 39%, 51%)  Olivine
#b37b51  rgb(179, 123, 81)  hsl(26, 39%, 51%)  Cafe au Lait
#51b37b  rgb(81, 179, 123)  hsl(146, 39%, 51%)  Medium Sea Green