#781fa2 ≈ Purple Heart
#781fa2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 47.06% red, 12.16% green and 63.53% blue; printed in CMYK it uses 25.93% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 280.76°, 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.35:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.46.
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.0758 |
Shades
#781fa2 mixed progressively with black.
Tints
#781fa2 mixed progressively with white.
Tones
#781fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-781fa2 {
color: #781fa2;
}
.bg-781fa2 {
background-color: #781fa2;
color: #ffffff;
}
.border-781fa2 {
border: 2px solid #781fa2;
}
:root {
--color-primary: #781fa2;
--color-primary-rgb: 120 31 162;
--color-primary-hsl: 281 68% 38%;
}
.gradient-781fa2 {
background: linear-gradient(135deg, #781fa2, #a21f8a);
}
.shadow-781fa2 {
box-shadow: 0 8px 24px rgb(120 31 162 / 0.35);
}
Purple Heart
#781fa2 rgb(120, 31, 162) hsl(281, 68%, 38%) Purple Heart
#49a21f rgb(73, 162, 31) hsl(101, 68%, 38%) Kelly Green
#a2781f rgb(162, 120, 31) hsl(41, 68%, 38%) Dark Goldenrod
#1fa278 rgb(31, 162, 120) hsl(161, 68%, 38%) Jungle Green