#7D5FA6

#7d5fa6 ≈ Royal Purple

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

#7d5fa6 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 65.1% blue; printed in CMYK it uses 24.7% cyan, 42.77% magenta, 0% yellow and 34.9% black. Its hue angle is 265.35°, with 28.51% saturation and 51.18% 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.17:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #7d5fa6 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.153

Readable text 5.17:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #746888 ≈ 0.001% of males
Protanopia #4d6ca9 ≈ 1.01% of males
Deuteranopia #536da4 ≈ 1.27% of males
Tritanopia #766b7a ≈ 0.0001% of males
Protanomaly #6467a8 ≈ 1.08% of males
Deuteranomaly #6668a5 ≈ 4.63% of males
Tritanomaly #79668e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d5fa6 {
  color: #7d5fa6;
}
Background
.bg-7d5fa6 {
  background-color: #7d5fa6;
  color: #ffffff;
}
Border
.border-7d5fa6 {
  border: 2px solid #7d5fa6;
}
CSS variables
:root {
  --color-primary: #7d5fa6;
  --color-primary-rgb: 125 95 166;
  --color-primary-hsl: 265 29% 51%;
}
Gradient
.gradient-7d5fa6 {
  background: linear-gradient(135deg, #7d5fa6, #a15fa6);
}
Colored shadow
.shadow-7d5fa6 {
  box-shadow: 0 8px 24px rgb(125 95 166 / 0.35);
}

Royal Purple
#7d5fa6  rgb(125, 95, 166)  hsl(265, 29%, 51%)  Royal Purple
#88a65f  rgb(136, 166, 95)  hsl(85, 29%, 51%)  Asparagus
#a67d5f  rgb(166, 125, 95)  hsl(25, 29%, 51%)  Cafe au Lait
#5fa67d  rgb(95, 166, 125)  hsl(145, 29%, 51%)  Mint