#842EAA

#842eaa ≈ Purple Heart

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

#842eaa is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 51.76% red, 18.04% green and 66.67% blue; printed in CMYK it uses 22.35% cyan, 72.94% magenta, 0% yellow and 33.33% black. Its hue angle is 281.61°, with 57.41% saturation and 42.35% 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.11:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 5.17.

Description generated from the measured properties of this color.

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

Readable text 7.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #6c4b81 ≈ 0.001% of males
Protanopia #0054ae ≈ 1.01% of males
Deuteranopia #235aa7 ≈ 1.27% of males
Tritanopia #804969 ≈ 0.0001% of males
Protanomaly #5047ac ≈ 1.08% of males
Deuteranomaly #5a4ca8 ≈ 4.63% of males
Tritanomaly #824088 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-842eaa {
  color: #842eaa;
}
Background
.bg-842eaa {
  background-color: #842eaa;
  color: #ffffff;
}
Border
.border-842eaa {
  border: 2px solid #842eaa;
}
CSS variables
:root {
  --color-primary: #842eaa;
  --color-primary-rgb: 132 46 170;
  --color-primary-hsl: 282 57% 42%;
}
Gradient
.gradient-842eaa {
  background: linear-gradient(135deg, #842eaa, #aa2e92);
}
Colored shadow
.shadow-842eaa {
  box-shadow: 0 8px 24px rgb(132 46 170 / 0.35);
}

Purple Heart
#842eaa  rgb(132, 46, 170)  hsl(282, 57%, 42%)  Purple Heart
#54aa2e  rgb(84, 170, 46)  hsl(102, 57%, 42%)  Kelly Green
#aa842e  rgb(170, 132, 46)  hsl(42, 57%, 42%)  Dark Goldenrod
#2eaa84  rgb(46, 170, 132)  hsl(162, 57%, 42%)  Jungle Green