#7F57AF

#7f57af ≈ Royal Purple

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

#7f57af is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 34.12% green and 68.63% blue; printed in CMYK it uses 27.43% cyan, 50.29% magenta, 0% yellow and 31.37% black. Its hue angle is 267.27°, with 35.48% saturation and 51.37% 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.41:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.29.

Description generated from the measured properties of this color.

Conversions of #7f57af 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.1442

Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #73638b ≈ 0.001% of males
Protanopia #3c69b2 ≈ 1.01% of males
Deuteranopia #476aad ≈ 1.27% of males
Tritanopia #76677b ≈ 0.0001% of males
Protanomaly #5e62b1 ≈ 1.08% of males
Deuteranomaly #6263ae ≈ 4.63% of males
Tritanomaly #7a6193 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f57af {
  color: #7f57af;
}
Background
.bg-7f57af {
  background-color: #7f57af;
  color: #ffffff;
}
Border
.border-7f57af {
  border: 2px solid #7f57af;
}
CSS variables
:root {
  --color-primary: #7f57af;
  --color-primary-rgb: 127 87 175;
  --color-primary-hsl: 267 35% 51%;
}
Gradient
.gradient-7f57af {
  background: linear-gradient(135deg, #7f57af, #ab57af);
}
Colored shadow
.shadow-7f57af {
  box-shadow: 0 8px 24px rgb(127 87 175 / 0.35);
}

Royal Purple
#7f57af  rgb(127, 87, 175)  hsl(267, 35%, 51%)  Royal Purple
#87af57  rgb(135, 175, 87)  hsl(87, 35%, 51%)  Asparagus
#af7f57  rgb(175, 127, 87)  hsl(27, 35%, 51%)  Cafe au Lait
#57af7f  rgb(87, 175, 127)  hsl(147, 35%, 51%)  Mint