#7C5DA2

#7c5da2 ≈ Royal Purple

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

#7c5da2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.63% red, 36.47% green and 63.53% blue; printed in CMYK it uses 23.46% cyan, 42.59% magenta, 0% yellow and 36.47% black. Its hue angle is 266.96°, with 27.06% 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.32:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #7c5da2 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.1472

Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #726685 ≈ 0.001% of males
Protanopia #4c6aa5 ≈ 1.01% of males
Deuteranopia #536ba0 ≈ 1.27% of males
Tritanopia #766878 ≈ 0.0001% of males
Protanomaly #6365a4 ≈ 1.08% of males
Deuteranomaly #6666a1 ≈ 4.63% of males
Tritanomaly #78648b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Royal Purple
#7c5da2  rgb(124, 93, 162)  hsl(267, 27%, 50%)  Royal Purple
#83a25d  rgb(131, 162, 93)  hsl(87, 27%, 50%)  Asparagus
#a27c5d  rgb(162, 124, 93)  hsl(27, 27%, 50%)  Cafe au Lait
#5da27c  rgb(93, 162, 124)  hsl(147, 27%, 50%)  Jungle Green