#7E2BAA

#7e2baa ≈ Purple Heart

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#7e2baa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 49.41% red, 16.86% green and 66.67% blue; printed in CMYK it uses 25.88% cyan, 74.71% magenta, 0% yellow and 33.33% black. Its hue angle is 279.21°, with 59.62% saturation and 41.76% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.32.

Description generated from the measured properties of this color.

Conversions of #7e2baa 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.0907

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

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #684880 ≈ 0.001% of males
Protanopia #0051ae ≈ 1.01% of males
Deuteranopia #1156a7 ≈ 1.27% of males
Tritanopia #784869 ≈ 0.0001% of males
Protanomaly #4a45ac ≈ 1.08% of males
Deuteranomaly #5349a8 ≈ 4.63% of males
Tritanomaly #7b3f88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7e2baa {
  color: #7e2baa;
}
Background
.bg-7e2baa {
  background-color: #7e2baa;
  color: #ffffff;
}
Border
.border-7e2baa {
  border: 2px solid #7e2baa;
}
CSS variables
:root {
  --color-primary: #7e2baa;
  --color-primary-rgb: 126 43 170;
  --color-primary-hsl: 279 60% 42%;
}
Gradient
.gradient-7e2baa {
  background: linear-gradient(135deg, #7e2baa, #aa2b96);
}
Colored shadow
.shadow-7e2baa {
  box-shadow: 0 8px 24px rgb(126 43 170 / 0.35);
}

Purple Heart
#7e2baa  rgb(126, 43, 170)  hsl(279, 60%, 42%)  Purple Heart
#57aa2b  rgb(87, 170, 43)  hsl(99, 60%, 42%)  Kelly Green
#aa7e2b  rgb(170, 126, 43)  hsl(39, 60%, 42%)  Dark Goldenrod
#2baa7e  rgb(43, 170, 126)  hsl(159, 60%, 42%)  Jungle Green