#781FA2

#781fa2 ≈ Purple Heart

  • magenta
  • Lightness: low
  • Saturation: strong
  • Cool

#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.

Conversions of #781fa2 into other color spaces
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 luminance0.0758

Readable text 8.35:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #614079 ≈ 0.001% of males
Protanopia #004aa5 ≈ 1.01% of males
Deuteranopia #004f9f ≈ 1.27% of males
Tritanopia #734061 ≈ 0.0001% of males
Protanomaly #433da4 ≈ 1.08% of males
Deuteranomaly #4d41a0 ≈ 4.63% of males
Tritanomaly #753680 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-781fa2 {
  color: #781fa2;
}
Background
.bg-781fa2 {
  background-color: #781fa2;
  color: #ffffff;
}
Border
.border-781fa2 {
  border: 2px solid #781fa2;
}
CSS variables
:root {
  --color-primary: #781fa2;
  --color-primary-rgb: 120 31 162;
  --color-primary-hsl: 281 68% 38%;
}
Gradient
.gradient-781fa2 {
  background: linear-gradient(135deg, #781fa2, #a21f8a);
}
Colored shadow
.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