#7E5EAB

#7e5eab ≈ Royal Purple

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

#7e5eab is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 36.86% green and 67.06% blue; printed in CMYK it uses 26.32% cyan, 45.03% magenta, 0% yellow and 32.94% black. Its hue angle is 264.94°, with 31.43% saturation and 51.96% 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.15:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.17.

Description generated from the measured properties of this color.

Conversions of #7e5eab 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.1538

Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #74688a ≈ 0.001% of males
Protanopia #496dae ≈ 1.01% of males
Deuteranopia #506da9 ≈ 1.27% of males
Tritanopia #766b7c ≈ 0.0001% of males
Protanomaly #6267ad ≈ 1.08% of males
Deuteranomaly #6667aa ≈ 4.63% of males
Tritanomaly #796691 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e5eab {
  color: #7e5eab;
}
Background
.bg-7e5eab {
  background-color: #7e5eab;
  color: #ffffff;
}
Border
.border-7e5eab {
  border: 2px solid #7e5eab;
}
CSS variables
:root {
  --color-primary: #7e5eab;
  --color-primary-rgb: 126 94 171;
  --color-primary-hsl: 265 31% 52%;
}
Gradient
.gradient-7e5eab {
  background: linear-gradient(135deg, #7e5eab, #a55eab);
}
Colored shadow
.shadow-7e5eab {
  box-shadow: 0 8px 24px rgb(126 94 171 / 0.35);
}

Royal Purple
#7e5eab  rgb(126, 94, 171)  hsl(265, 31%, 52%)  Royal Purple
#8bab5e  rgb(139, 171, 94)  hsl(85, 31%, 52%)  Asparagus
#ab7e5e  rgb(171, 126, 94)  hsl(25, 31%, 52%)  Cafe au Lait
#5eab7e  rgb(94, 171, 126)  hsl(145, 31%, 52%)  Mint