#7D64A7

#7d64a7 ≈ Royal Purple

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

#7d64a7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.02% red, 39.22% green and 65.49% blue; printed in CMYK it uses 25.15% cyan, 40.12% magenta, 0% yellow and 34.51% black. Its hue angle is 262.39°, with 27.57% saturation and 52.35% 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 4.94:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.38.

Description generated from the measured properties of this color.

Conversions of #7d64a7 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.1626

Readable text 4.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #766c8a ≈ 0.001% of males
Protanopia #5370aa ≈ 1.01% of males
Deuteranopia #5870a5 ≈ 1.27% of males
Tritanopia #756f7d ≈ 0.0001% of males
Protanomaly #666ba9 ≈ 1.08% of males
Deuteranomaly #696ba6 ≈ 4.63% of males
Tritanomaly #786b90 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d64a7 {
  color: #7d64a7;
}
Background
.bg-7d64a7 {
  background-color: #7d64a7;
  color: #ffffff;
}
Border
.border-7d64a7 {
  border: 2px solid #7d64a7;
}
CSS variables
:root {
  --color-primary: #7d64a7;
  --color-primary-rgb: 125 100 167;
  --color-primary-hsl: 262 28% 52%;
}
Gradient
.gradient-7d64a7 {
  background: linear-gradient(135deg, #7d64a7, #9e64a7);
}
Colored shadow
.shadow-7d64a7 {
  box-shadow: 0 8px 24px rgb(125 100 167 / 0.35);
}

Royal Purple
#7d64a7  rgb(125, 100, 167)  hsl(262, 28%, 52%)  Royal Purple
#8ea764  rgb(142, 167, 100)  hsl(82, 28%, 52%)  Asparagus
#a77d64  rgb(167, 125, 100)  hsl(22, 28%, 52%)  Cafe au Lait
#64a77d  rgb(100, 167, 125)  hsl(142, 28%, 52%)  Mint