#7D5FAC

#7d5fac ≈ Royal Purple

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

#7d5fac 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 67.45% blue; printed in CMYK it uses 27.33% cyan, 44.77% magenta, 0% yellow and 32.55% black. Its hue angle is 263.38°, with 31.69% 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 5.12:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.42.

Description generated from the measured properties of this color.

Conversions of #7d5fac 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.1552

Readable text 5.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #74688b ≈ 0.001% of males
Protanopia #496daf ≈ 1.01% of males
Deuteranopia #506daa ≈ 1.27% of males
Tritanopia #746c7d ≈ 0.0001% of males
Protanomaly #6268ae ≈ 1.08% of males
Deuteranomaly #6568ab ≈ 4.63% of males
Tritanomaly #786792 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d5fac {
  color: #7d5fac;
}
Background
.bg-7d5fac {
  background-color: #7d5fac;
  color: #ffffff;
}
Border
.border-7d5fac {
  border: 2px solid #7d5fac;
}
CSS variables
:root {
  --color-primary: #7d5fac;
  --color-primary-rgb: 125 95 172;
  --color-primary-hsl: 263 32% 52%;
}
Gradient
.gradient-7d5fac {
  background: linear-gradient(135deg, #7d5fac, #a45fac);
}
Colored shadow
.shadow-7d5fac {
  box-shadow: 0 8px 24px rgb(125 95 172 / 0.35);
}

Royal Purple
#7d5fac  rgb(125, 95, 172)  hsl(263, 32%, 52%)  Royal Purple
#8eac5f  rgb(142, 172, 95)  hsl(83, 32%, 52%)  Asparagus
#ac7d5f  rgb(172, 125, 95)  hsl(23, 32%, 52%)  Cafe au Lait
#5fac7d  rgb(95, 172, 125)  hsl(143, 32%, 52%)  Mint