#7B51BD

#7b51bd ≈ Royal Purple

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

#7b51bd 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 74.12% blue; printed in CMYK it uses 34.92% cyan, 57.14% magenta, 0% yellow and 25.88% black. Its hue angle is 263.33°, with 45% saturation and 52.94% 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.59:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #7b51bd 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.1377

Readable text 5.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.75:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #686868 ≈ 0.003% of males
Achromatomaly #705f92 ≈ 0.001% of males
Protanopia #1d68c1 ≈ 1.01% of males
Deuteranopia #2e67bb ≈ 1.27% of males
Tritanopia #6c677f ≈ 0.0001% of males
Protanomaly #535fbf ≈ 1.08% of males
Deuteranomaly #575fbc ≈ 4.63% of males
Tritanomaly #735f9c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7b51bd  rgb(123, 81, 189)  hsl(263, 45%, 53%)  Royal Purple
#93bd51  rgb(147, 189, 81)  hsl(83, 45%, 53%)  Pistachio
#bd7b51  rgb(189, 123, 81)  hsl(23, 45%, 53%)  Copper
#51bd7b  rgb(81, 189, 123)  hsl(143, 45%, 53%)  Medium Sea Green