#7E52BB

#7e52bb ≈ Royal Purple

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

#7e52bb is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 32.16% green and 73.33% blue; printed in CMYK it uses 32.62% cyan, 56.15% magenta, 0% yellow and 26.67% black. Its hue angle is 265.14°, with 43.57% saturation and 52.75% 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.51:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.17.

Description generated from the measured properties of this color.

Conversions of #7e52bb 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.1406

Readable text 5.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #696969 ≈ 0.003% of males
Achromatomaly #726091 ≈ 0.001% of males
Protanopia #2568be ≈ 1.01% of males
Deuteranopia #3568b9 ≈ 1.27% of males
Tritanopia #71677e ≈ 0.0001% of males
Protanomaly #5760bd ≈ 1.08% of males
Deuteranomaly #5b60ba ≈ 4.63% of males
Tritanomaly #775f9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7e52bb  rgb(126, 82, 187)  hsl(265, 44%, 53%)  Royal Purple
#8fbb52  rgb(143, 187, 82)  hsl(85, 44%, 53%)  Pistachio
#bb7e52  rgb(187, 126, 82)  hsl(25, 44%, 53%)  Cafe au Lait
#52bb7e  rgb(82, 187, 126)  hsl(145, 44%, 53%)  Medium Sea Green