#7C5FA0

#7c5fa0 ≈ Royal Purple

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

#7c5fa0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.63% red, 37.25% green and 62.75% blue; printed in CMYK it uses 22.5% cyan, 40.63% magenta, 0% yellow and 37.25% black. Its hue angle is 266.77°, with 25.49% saturation and 50% 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.25:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.42.

Description generated from the measured properties of this color.

Conversions of #7c5fa0 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.1501

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #736784 ≈ 0.001% of males
Protanopia #4f6ba2 ≈ 1.01% of males
Deuteranopia #566c9e ≈ 1.27% of males
Tritanopia #766978 ≈ 0.0001% of males
Protanomaly #6467a1 ≈ 1.08% of males
Deuteranomaly #67679f ≈ 4.63% of males
Tritanomaly #78658a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7c5fa0  rgb(124, 95, 160)  hsl(267, 25%, 50%)  Royal Purple
#83a05f  rgb(131, 160, 95)  hsl(87, 25%, 50%)  Asparagus
#a07c5f  rgb(160, 124, 95)  hsl(27, 25%, 50%)  Cafe au Lait
#5fa07c  rgb(95, 160, 124)  hsl(147, 25%, 50%)  Jungle Green