#7D18A2

#7d18a2 ≈ Purple Heart

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

#7d18a2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 49.02% red, 9.41% green and 63.53% blue; printed in CMYK it uses 22.84% cyan, 85.19% magenta, 0% yellow and 36.47% black. Its hue angle is 283.91°, with 74.19% saturation and 36.47% 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.32:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.44.

Description generated from the measured properties of this color.

Conversions of #7d18a2 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.0762

Readable text 8.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.52:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #643f79 ≈ 0.001% of males
Protanopia #0049a6 ≈ 1.01% of males
Deuteranopia #03509f ≈ 1.27% of males
Tritanopia #793c60 ≈ 0.0001% of males
Protanomaly #473ba4 ≈ 1.08% of males
Deuteranomaly #5141a0 ≈ 4.63% of males
Tritanomaly #7b3180 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Purple Heart
#7d18a2  rgb(125, 24, 162)  hsl(284, 74%, 36%)  Purple Heart
#3da218  rgb(61, 162, 24)  hsl(104, 74%, 36%)  Islamic Green
#a27d18  rgb(162, 125, 24)  hsl(44, 74%, 36%)  Dark Goldenrod
#18a27d  rgb(24, 162, 125)  hsl(164, 74%, 36%)  Jungle Green