#7F2FA0

#7f2fa0 ≈ Purple Heart

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

#7f2fa0 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 62.75% blue; printed in CMYK it uses 20.63% cyan, 70.63% magenta, 0% yellow and 37.25% black. Its hue angle is 282.48°, with 54.59% saturation and 40.59% 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.46:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.35.

Description generated from the measured properties of this color.

Conversions of #7f2fa0 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.0908

Readable text 7.46:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #68497a ≈ 0.001% of males
Protanopia #0051a3 ≈ 1.01% of males
Deuteranopia #29579d ≈ 1.27% of males
Tritanopia #7c4664 ≈ 0.0001% of males
Protanomaly #4f45a2 ≈ 1.08% of males
Deuteranomaly #584a9e ≈ 4.63% of males
Tritanomaly #7d3e80 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purple Heart
#7f2fa0  rgb(127, 47, 160)  hsl(282, 55%, 41%)  Purple Heart
#50a02f  rgb(80, 160, 47)  hsl(102, 55%, 41%)  Islamic Green
#a07f2f  rgb(160, 127, 47)  hsl(42, 55%, 41%)  Dark Goldenrod
#2fa07f  rgb(47, 160, 127)  hsl(162, 55%, 41%)  Jungle Green