#7F2FA2

#7f2fa2 ≈ Purple Heart

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

#7f2fa2 is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 49.8% red, 18.43% green and 63.53% blue; printed in CMYK it uses 21.6% cyan, 70.99% magenta, 0% yellow and 36.47% black. Its hue angle is 281.74°, with 55.02% saturation and 40.98% 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.42:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.28.

Description generated from the measured properties of this color.

Conversions of #7f2fa2 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.0915

Readable text 7.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #68497b ≈ 0.001% of males
Protanopia #0051a5 ≈ 1.01% of males
Deuteranopia #27579f ≈ 1.27% of males
Tritanopia #7b4765 ≈ 0.0001% of males
Protanomaly #4f46a4 ≈ 1.08% of males
Deuteranomaly #584aa0 ≈ 4.63% of males
Tritanomaly #7d3f82 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7f2fa2 {
  color: #7f2fa2;
}
Background
.bg-7f2fa2 {
  background-color: #7f2fa2;
  color: #ffffff;
}
Border
.border-7f2fa2 {
  border: 2px solid #7f2fa2;
}
CSS variables
:root {
  --color-primary: #7f2fa2;
  --color-primary-rgb: 127 47 162;
  --color-primary-hsl: 282 55% 41%;
}
Gradient
.gradient-7f2fa2 {
  background: linear-gradient(135deg, #7f2fa2, #a22f8b);
}
Colored shadow
.shadow-7f2fa2 {
  box-shadow: 0 8px 24px rgb(127 47 162 / 0.35);
}

Purple Heart
#7f2fa2  rgb(127, 47, 162)  hsl(282, 55%, 41%)  Purple Heart
#52a22f  rgb(82, 162, 47)  hsl(102, 55%, 41%)  Kelly Green
#a27f2f  rgb(162, 127, 47)  hsl(42, 55%, 41%)  Dark Goldenrod
#2fa27f  rgb(47, 162, 127)  hsl(162, 55%, 41%)  Jungle Green