#7E2EA2

#7e2ea2 ≈ Purple Heart

  • magenta
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7e2ea2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 18.04% green and 63.53% blue; printed in CMYK it uses 22.22% cyan, 71.6% magenta, 0% yellow and 36.47% black. Its hue angle is 281.38°, with 55.77% saturation and 40.78% 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.5:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #7e2ea2 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.09

Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #68487b ≈ 0.001% of males
Protanopia #0050a5 ≈ 1.01% of males
Deuteranopia #24569f ≈ 1.27% of males
Tritanopia #7a4765 ≈ 0.0001% of males
Protanomaly #4e45a4 ≈ 1.08% of males
Deuteranomaly #5649a0 ≈ 4.63% of males
Tritanomaly #7c3e82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e2ea2 {
  color: #7e2ea2;
}
Background
.bg-7e2ea2 {
  background-color: #7e2ea2;
  color: #ffffff;
}
Border
.border-7e2ea2 {
  border: 2px solid #7e2ea2;
}
CSS variables
:root {
  --color-primary: #7e2ea2;
  --color-primary-rgb: 126 46 162;
  --color-primary-hsl: 281 56% 41%;
}
Gradient
.gradient-7e2ea2 {
  background: linear-gradient(135deg, #7e2ea2, #a22e8c);
}
Colored shadow
.shadow-7e2ea2 {
  box-shadow: 0 8px 24px rgb(126 46 162 / 0.35);
}

Purple Heart
#7e2ea2  rgb(126, 46, 162)  hsl(281, 56%, 41%)  Purple Heart
#52a22e  rgb(82, 162, 46)  hsl(101, 56%, 41%)  Kelly Green
#a27e2e  rgb(162, 126, 46)  hsl(41, 56%, 41%)  Dark Goldenrod
#2ea27e  rgb(46, 162, 126)  hsl(161, 56%, 41%)  Jungle Green