#842eaa ≈ Purple Heart
#842eaa is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 51.76% red, 18.04% green and 66.67% blue; printed in CMYK it uses 22.35% cyan, 72.94% magenta, 0% yellow and 33.33% black. Its hue angle is 281.61°, with 57.41% saturation and 42.35% 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.11:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.17.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0976 |
Shades
#842eaa mixed progressively with black.
Tints
#842eaa mixed progressively with white.
Tones
#842eaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-842eaa {
color: #842eaa;
}
.bg-842eaa {
background-color: #842eaa;
color: #ffffff;
}
.border-842eaa {
border: 2px solid #842eaa;
}
:root {
--color-primary: #842eaa;
--color-primary-rgb: 132 46 170;
--color-primary-hsl: 282 57% 42%;
}
.gradient-842eaa {
background: linear-gradient(135deg, #842eaa, #aa2e92);
}
.shadow-842eaa {
box-shadow: 0 8px 24px rgb(132 46 170 / 0.35);
}
Purple Heart
#842eaa rgb(132, 46, 170) hsl(282, 57%, 42%) Purple Heart
#54aa2e rgb(84, 170, 46) hsl(102, 57%, 42%) Kelly Green
#aa842e rgb(170, 132, 46) hsl(42, 57%, 42%) Dark Goldenrod
#2eaa84 rgb(46, 170, 132) hsl(162, 57%, 42%) Jungle Green