#7D12AB

#7d12ab ≈ Purple Heart

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

#7d12ab is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 49.02% red, 7.06% green and 67.06% blue; printed in CMYK it uses 26.9% cyan, 89.47% magenta, 0% yellow and 32.94% black. Its hue angle is 281.96°, with 80.95% saturation and 37.06% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 8.25:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.81.

Description generated from the measured properties of this color.

Conversions of #7d12ab into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#660099
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0773

Readable text 8.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #643e7e ≈ 0.001% of males
Protanopia #004aaf ≈ 1.01% of males
Deuteranopia #0050a8 ≈ 1.27% of males
Tritanopia #773f65 ≈ 0.0001% of males
Protanomaly #423bad ≈ 1.08% of males
Deuteranomaly #4d40a9 ≈ 4.63% of males
Tritanomaly #793286 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7d12ab {
  color: #7d12ab;
}
Background
.bg-7d12ab {
  background-color: #7d12ab;
  color: #ffffff;
}
Border
.border-7d12ab {
  border: 2px solid #7d12ab;
}
CSS variables
:root {
  --color-primary: #7d12ab;
  --color-primary-rgb: 125 18 171;
  --color-primary-hsl: 282 81% 37%;
}
Gradient
.gradient-7d12ab {
  background: linear-gradient(135deg, #7d12ab, #ab128d);
}
Colored shadow
.shadow-7d12ab {
  box-shadow: 0 8px 24px rgb(125 18 171 / 0.35);
}

Purple Heart
#7d12ab  rgb(125, 18, 171)  hsl(282, 81%, 37%)  Purple Heart
#40ab12  rgb(64, 171, 18)  hsl(102, 81%, 37%)  Kelly Green
#ab7d12  rgb(171, 125, 18)  hsl(42, 81%, 37%)  Dark Goldenrod
#12ab7d  rgb(18, 171, 125)  hsl(162, 81%, 37%)  Jungle Green