#7f2caa ≈ Purple Heart
#7f2caa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 17.25% green and 66.67% blue; printed in CMYK it uses 25.29% cyan, 74.12% magenta, 0% yellow and 33.33% black. Its hue angle is 279.52°, with 58.88% saturation and 41.96% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.39:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.42.
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.0922 |
Shades
#7f2caa mixed progressively with black.
Tints
#7f2caa mixed progressively with white.
Tones
#7f2caa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7f2caa {
color: #7f2caa;
}
.bg-7f2caa {
background-color: #7f2caa;
color: #ffffff;
}
.border-7f2caa {
border: 2px solid #7f2caa;
}
:root {
--color-primary: #7f2caa;
--color-primary-rgb: 127 44 170;
--color-primary-hsl: 280 59% 42%;
}
.gradient-7f2caa {
background: linear-gradient(135deg, #7f2caa, #aa2c96);
}
.shadow-7f2caa {
box-shadow: 0 8px 24px rgb(127 44 170 / 0.35);
}
Purple Heart
#7f2caa rgb(127, 44, 170) hsl(280, 59%, 42%) Purple Heart
#57aa2c rgb(87, 170, 44) hsl(100, 59%, 42%) Kelly Green
#aa7f2c rgb(170, 127, 44) hsl(40, 59%, 42%) Dark Goldenrod
#2caa7f rgb(44, 170, 127) hsl(160, 59%, 42%) Jungle Green