#7b0c8a ≈ Purple
#7b0c8a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 48.24% red, 4.71% green and 54.12% blue; printed in CMYK it uses 10.87% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 292.86°, 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.28:1 (WCAG AAA). The closest named color is Purple (#800080), ΔE 2.47.
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.0631 |
Shades
#7b0c8a mixed progressively with black.
Tints
#7b0c8a mixed progressively with white.
Tones
#7b0c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7b0c8a {
color: #7b0c8a;
}
.bg-7b0c8a {
background-color: #7b0c8a;
color: #ffffff;
}
.border-7b0c8a {
border: 2px solid #7b0c8a;
}
:root {
--color-primary: #7b0c8a;
--color-primary-rgb: 123 12 138;
--color-primary-hsl: 293 84% 29%;
}
.gradient-7b0c8a {
background: linear-gradient(135deg, #7b0c8a, #8a0c5a);
}
.shadow-7b0c8a {
box-shadow: 0 8px 24px rgb(123 12 138 / 0.35);
}
Purple
#7b0c8a rgb(123, 12, 138) hsl(293, 84%, 29%) Purple
#1b8a0c rgb(27, 138, 12) hsl(113, 84%, 29%) India Green
#8a7b0c rgb(138, 123, 12) hsl(53, 84%, 29%) Olive
#0c8a7b rgb(12, 138, 123) hsl(173, 84%, 29%) Viridian