#7D5FA2

#7d5fa2 ≈ Royal Purple

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

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

Description generated from the measured properties of this color.

Conversions of #7d5fa2 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.1515

Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #736785 ≈ 0.001% of males
Protanopia #4f6ca5 ≈ 1.01% of males
Deuteranopia #556da0 ≈ 1.27% of males
Tritanopia #776a79 ≈ 0.0001% of males
Protanomaly #6467a4 ≈ 1.08% of males
Deuteranomaly #6767a1 ≈ 4.63% of males
Tritanomaly #79668b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7d5fa2  rgb(125, 95, 162)  hsl(267, 26%, 50%)  Royal Purple
#84a25f  rgb(132, 162, 95)  hsl(87, 26%, 50%)  Asparagus
#a27d5f  rgb(162, 125, 95)  hsl(27, 26%, 50%)  Cafe au Lait
#5fa27d  rgb(95, 162, 125)  hsl(147, 26%, 50%)  Jungle Green