#7f2fa2 ≈ Purple Heart
#7f2fa2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 18.43% green and 63.53% blue; printed in CMYK it uses 21.6% cyan, 70.99% magenta, 0% yellow and 36.47% black. Its hue angle is 281.74°, with 55.02% saturation and 40.98% 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.42:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.28.
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.0915 |
Shades
#7f2fa2 mixed progressively with black.
Tints
#7f2fa2 mixed progressively with white.
Tones
#7f2fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f2fa2 {
color: #7f2fa2;
}
.bg-7f2fa2 {
background-color: #7f2fa2;
color: #ffffff;
}
.border-7f2fa2 {
border: 2px solid #7f2fa2;
}
:root {
--color-primary: #7f2fa2;
--color-primary-rgb: 127 47 162;
--color-primary-hsl: 282 55% 41%;
}
.gradient-7f2fa2 {
background: linear-gradient(135deg, #7f2fa2, #a22f8b);
}
.shadow-7f2fa2 {
box-shadow: 0 8px 24px rgb(127 47 162 / 0.35);
}
Purple Heart
#7f2fa2 rgb(127, 47, 162) hsl(282, 55%, 41%) Purple Heart
#52a22f rgb(82, 162, 47) hsl(102, 55%, 41%) Kelly Green
#a27f2f rgb(162, 127, 47) hsl(42, 55%, 41%) Dark Goldenrod
#2fa27f rgb(47, 162, 127) hsl(162, 55%, 41%) Jungle Green