#7f0c8a ≈ Purple
#7f0c8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 49.8% red, 4.71% green and 54.12% blue; printed in CMYK it uses 7.97% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 294.76°, 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.04:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 2.03.
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.0661 |
Shades
#7f0c8a mixed progressively with black.
Tints
#7f0c8a mixed progressively with white.
Tones
#7f0c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f0c8a {
color: #7f0c8a;
}
.bg-7f0c8a {
background-color: #7f0c8a;
color: #ffffff;
}
.border-7f0c8a {
border: 2px solid #7f0c8a;
}
:root {
--color-primary: #7f0c8a;
--color-primary-rgb: 127 12 138;
--color-primary-hsl: 295 84% 29%;
}
.gradient-7f0c8a {
background: linear-gradient(135deg, #7f0c8a, #8a0c56);
}
.shadow-7f0c8a {
box-shadow: 0 8px 24px rgb(127 12 138 / 0.35);
}
Purple
#7f0c8a rgb(127, 12, 138) hsl(295, 84%, 29%) Purple
#178a0c rgb(23, 138, 12) hsl(115, 84%, 29%) India Green
#8a7f0c rgb(138, 127, 12) hsl(55, 84%, 29%) Olive
#0c8a7f rgb(12, 138, 127) hsl(175, 84%, 29%) Dark Cyan