#7D5EA2

#7d5ea2 ≈ Royal Purple

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

#7d5ea2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.02% red, 36.86% green and 63.53% blue; printed in CMYK it uses 22.84% cyan, 41.98% magenta, 0% yellow and 36.47% black. Its hue angle is 267.35°, with 26.77% saturation and 50.2% 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.26:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.89.

Description generated from the measured properties of this color.

Conversions of #7d5ea2 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.1497

Readable text 5.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #736785 ≈ 0.001% of males
Protanopia #4d6ba5 ≈ 1.01% of males
Deuteranopia #546ca0 ≈ 1.27% of males
Tritanopia #776978 ≈ 0.0001% of males
Protanomaly #6466a4 ≈ 1.08% of males
Deuteranomaly #6767a1 ≈ 4.63% of males
Tritanomaly #79658b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d5ea2 {
  color: #7d5ea2;
}
Background
.bg-7d5ea2 {
  background-color: #7d5ea2;
  color: #ffffff;
}
Border
.border-7d5ea2 {
  border: 2px solid #7d5ea2;
}
CSS variables
:root {
  --color-primary: #7d5ea2;
  --color-primary-rgb: 125 94 162;
  --color-primary-hsl: 267 27% 50%;
}
Gradient
.gradient-7d5ea2 {
  background: linear-gradient(135deg, #7d5ea2, #9f5ea2);
}
Colored shadow
.shadow-7d5ea2 {
  box-shadow: 0 8px 24px rgb(125 94 162 / 0.35);
}

Royal Purple
#7d5ea2  rgb(125, 94, 162)  hsl(267, 27%, 50%)  Royal Purple
#83a25e  rgb(131, 162, 94)  hsl(87, 27%, 50%)  Asparagus
#a27d5e  rgb(162, 125, 94)  hsl(27, 27%, 50%)  Cafe au Lait
#5ea27d  rgb(94, 162, 125)  hsl(147, 27%, 50%)  Jungle Green