#7e2aa2 ≈ Purple Heart
#7e2aa2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 16.47% green and 63.53% blue; printed in CMYK it uses 22.22% cyan, 74.07% magenta, 0% yellow and 36.47% black. Its hue angle is 282°, with 58.82% saturation and 40% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.66:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.087 |
Shades
#7e2aa2 mixed progressively with black.
Tints
#7e2aa2 mixed progressively with white.
Tones
#7e2aa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7e2aa2 {
color: #7e2aa2;
}
.bg-7e2aa2 {
background-color: #7e2aa2;
color: #ffffff;
}
.border-7e2aa2 {
border: 2px solid #7e2aa2;
}
:root {
--color-primary: #7e2aa2;
--color-primary-rgb: 126 42 162;
--color-primary-hsl: 282 59% 40%;
}
.gradient-7e2aa2 {
background: linear-gradient(135deg, #7e2aa2, #a22a8a);
}
.shadow-7e2aa2 {
box-shadow: 0 8px 24px rgb(126 42 162 / 0.35);
}
Purple Heart
#7e2aa2 rgb(126, 42, 162) hsl(282, 59%, 40%) Purple Heart
#4ea22a rgb(78, 162, 42) hsl(102, 59%, 40%) Kelly Green
#a27e2a rgb(162, 126, 42) hsl(42, 59%, 40%) Dark Goldenrod
#2aa27e rgb(42, 162, 126) hsl(162, 59%, 40%) Jungle Green