#7a0c8a ≈ Purple
#7a0c8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 47.84% red, 4.71% green and 54.12% blue; printed in CMYK it uses 11.59% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 292.38°, with 84% saturation and 29.41% 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 luxury branding. White text on this color reaches a contrast ratio of 9.35:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 2.61.
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.0624 |
Shades
#7a0c8a mixed progressively with black.
Tints
#7a0c8a mixed progressively with white.
Tones
#7a0c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7a0c8a {
color: #7a0c8a;
}
.bg-7a0c8a {
background-color: #7a0c8a;
color: #ffffff;
}
.border-7a0c8a {
border: 2px solid #7a0c8a;
}
:root {
--color-primary: #7a0c8a;
--color-primary-rgb: 122 12 138;
--color-primary-hsl: 292 84% 29%;
}
.gradient-7a0c8a {
background: linear-gradient(135deg, #7a0c8a, #8a0c5b);
}
.shadow-7a0c8a {
box-shadow: 0 8px 24px rgb(122 12 138 / 0.35);
}
Purple
#7a0c8a rgb(122, 12, 138) hsl(292, 84%, 29%) Purple
#1c8a0c rgb(28, 138, 12) hsl(112, 84%, 29%) India Green
#8a7a0c rgb(138, 122, 12) hsl(52, 84%, 29%) Olive
#0c8a7a rgb(12, 138, 122) hsl(172, 84%, 29%) Viridian