#7c178c ≈ Purple
#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.
| 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 luminance | 0.0679 |
Shades
#7c178c mixed progressively with black.
Tints
#7c178c mixed progressively with white.
Tones
#7c178c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7c178c {
color: #7c178c;
}
.bg-7c178c {
background-color: #7c178c;
color: #ffffff;
}
.border-7c178c {
border: 2px solid #7c178c;
}
:root {
--color-primary: #7c178c;
--color-primary-rgb: 124 23 140;
--color-primary-hsl: 292 72% 32%;
}
.gradient-7c178c {
background: linear-gradient(135deg, #7c178c, #8c1762);
}
.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