#7F5099

#7f5099 ≈ Royal Purple

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

#7f5099 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 31.37% green and 60% blue; printed in CMYK it uses 16.99% cyan, 47.71% magenta, 0% yellow and 40% black. Its hue angle is 278.63°, with 31.33% saturation and 45.69% 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.98:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.23.

Description generated from the measured properties of this color.

Conversions of #7f5099 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.1255

Readable text 5.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #6f5c7c ≈ 0.001% of males
Protanopia #40619c ≈ 1.01% of males
Deuteranopia #4d6497 ≈ 1.27% of males
Tritanopia #7d5b6d ≈ 0.0001% of males
Protanomaly #605b9b ≈ 1.08% of males
Deuteranomaly #655d98 ≈ 4.63% of males
Tritanomaly #7e5781 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f5099 {
  color: #7f5099;
}
Background
.bg-7f5099 {
  background-color: #7f5099;
  color: #ffffff;
}
Border
.border-7f5099 {
  border: 2px solid #7f5099;
}
CSS variables
:root {
  --color-primary: #7f5099;
  --color-primary-rgb: 127 80 153;
  --color-primary-hsl: 279 31% 46%;
}
Gradient
.gradient-7f5099 {
  background: linear-gradient(135deg, #7f5099, #99508f);
}
Colored shadow
.shadow-7f5099 {
  box-shadow: 0 8px 24px rgb(127 80 153 / 0.35);
}

Royal Purple
#7f5099  rgb(127, 80, 153)  hsl(279, 31%, 46%)  Royal Purple
#6a9950  rgb(106, 153, 80)  hsl(99, 31%, 46%)  Asparagus
#997f50  rgb(153, 127, 80)  hsl(39, 31%, 46%)  Cafe au Lait
#50997f  rgb(80, 153, 127)  hsl(159, 31%, 46%)  Jungle Green