#7C178C

#7c178c ≈ Purple

  • magenta
  • Lightness: low
  • Saturation: moderate
  • Balanced

#7c178c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 48.63% red, 9.02% green and 54.9% blue; printed in CMYK it uses 11.43% cyan, 83.57% magenta, 0% yellow and 45.1% black. Its hue angle is 291.79°, with 71.78% saturation and 31.96% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 8.9:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 2.91.

Description generated from the measured properties of this color.

Conversions of #7c178c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0679

Readable text 8.9:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4a4a4a ≈ 0.003% of males
Achromatomaly #623b6b ≈ 0.001% of males
Protanopia #00438f ≈ 1.01% of males
Deuteranopia #284d89 ≈ 1.27% of males
Tritanopia #7d3153 ≈ 0.0001% of males
Protanomaly #4c368e ≈ 1.08% of males
Deuteranomaly #563e8a ≈ 4.63% of males
Tritanomaly #7d296e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7c178c {
  color: #7c178c;
}
Background
.bg-7c178c {
  background-color: #7c178c;
  color: #ffffff;
}
Border
.border-7c178c {
  border: 2px solid #7c178c;
}
CSS variables
:root {
  --color-primary: #7c178c;
  --color-primary-rgb: 124 23 140;
  --color-primary-hsl: 292 72% 32%;
}
Gradient
.gradient-7c178c {
  background: linear-gradient(135deg, #7c178c, #8c1762);
}
Colored shadow
.shadow-7c178c {
  box-shadow: 0 8px 24px rgb(124 23 140 / 0.35);
}

Purple
#7c178c  rgb(124, 23, 140)  hsl(292, 72%, 32%)  Purple
#278c17  rgb(39, 140, 23)  hsl(112, 72%, 32%)  Forest Green
#8c7c17  rgb(140, 124, 23)  hsl(52, 72%, 32%)  Olive
#178c7c  rgb(23, 140, 124)  hsl(172, 72%, 32%)  Viridian