#7e1fa2 ≈ Purple Heart
#7e1fa2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 49.41% red, 12.16% green and 63.53% blue; printed in CMYK it uses 22.22% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 283.51°, with 67.88% saturation and 37.84% 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 8.06:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.04.
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.0802 |
Shades
#7e1fa2 mixed progressively with black.
Tints
#7e1fa2 mixed progressively with white.
Tones
#7e1fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7e1fa2 {
color: #7e1fa2;
}
.bg-7e1fa2 {
background-color: #7e1fa2;
color: #ffffff;
}
.border-7e1fa2 {
border: 2px solid #7e1fa2;
}
:root {
--color-primary: #7e1fa2;
--color-primary-rgb: 126 31 162;
--color-primary-hsl: 284 68% 38%;
}
.gradient-7e1fa2 {
background: linear-gradient(135deg, #7e1fa2, #a21f84);
}
.shadow-7e1fa2 {
box-shadow: 0 8px 24px rgb(126 31 162 / 0.35);
}
Purple Heart
#7e1fa2 rgb(126, 31, 162) hsl(284, 68%, 38%) Purple Heart
#43a21f rgb(67, 162, 31) hsl(104, 68%, 38%) Islamic Green
#a27e1f rgb(162, 126, 31) hsl(44, 68%, 38%) Dark Goldenrod
#1fa27e rgb(31, 162, 126) hsl(164, 68%, 38%) Jungle Green