#7E1FA2

#7e1fa2 ≈ Purple Heart

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

#7e1fa2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 49.41% red, 12.16% green and 63.53% blue; printed in CMYK it uses 22.22% cyan, 80.86% magenta, 0% yellow and 36.47% black. Its hue angle is 283.51°, 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.06:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.04.

Description generated from the measured properties of this color.

Conversions of #7e1fa2 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.0802

Readable text 8.06:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #664179 ≈ 0.001% of males
Protanopia #004ba5 ≈ 1.01% of males
Deuteranopia #12529f ≈ 1.27% of males
Tritanopia #7a3f61 ≈ 0.0001% of males
Protanomaly #493ea4 ≈ 1.08% of males
Deuteranomaly #5343a0 ≈ 4.63% of males
Tritanomaly #7c3580 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e1fa2 {
  color: #7e1fa2;
}
Background
.bg-7e1fa2 {
  background-color: #7e1fa2;
  color: #ffffff;
}
Border
.border-7e1fa2 {
  border: 2px solid #7e1fa2;
}
CSS variables
:root {
  --color-primary: #7e1fa2;
  --color-primary-rgb: 126 31 162;
  --color-primary-hsl: 284 68% 38%;
}
Gradient
.gradient-7e1fa2 {
  background: linear-gradient(135deg, #7e1fa2, #a21f84);
}
Colored shadow
.shadow-7e1fa2 {
  box-shadow: 0 8px 24px rgb(126 31 162 / 0.35);
}

Purple Heart
#7e1fa2  rgb(126, 31, 162)  hsl(284, 68%, 38%)  Purple Heart
#43a21f  rgb(67, 162, 31)  hsl(104, 68%, 38%)  Islamic Green
#a27e1f  rgb(162, 126, 31)  hsl(44, 68%, 38%)  Dark Goldenrod
#1fa27e  rgb(31, 162, 126)  hsl(164, 68%, 38%)  Jungle Green