#781FA5

#781fa5 ≈ Purple Heart

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#781fa5 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 47.06% red, 12.16% green and 64.71% blue; printed in CMYK it uses 27.27% cyan, 81.21% magenta, 0% yellow and 35.29% black. Its hue angle is 279.85°, with 68.37% saturation and 38.43% 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 8.27:1 (WCAG AAA). The closest named color is Purple Heart (#69359c), ΔE 4.47.

Description generated from the measured properties of this color.

Conversions of #781fa5 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.0769

Readable text 8.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #62407b ≈ 0.001% of males
Protanopia #004ba9 ≈ 1.01% of males
Deuteranopia #0050a2 ≈ 1.27% of males
Tritanopia #724163 ≈ 0.0001% of males
Protanomaly #423da7 ≈ 1.08% of males
Deuteranomaly #4c41a3 ≈ 4.63% of males
Tritanomaly #743783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-781fa5 {
  color: #781fa5;
}
Background
.bg-781fa5 {
  background-color: #781fa5;
  color: #ffffff;
}
Border
.border-781fa5 {
  border: 2px solid #781fa5;
}
CSS variables
:root {
  --color-primary: #781fa5;
  --color-primary-rgb: 120 31 165;
  --color-primary-hsl: 280 68% 38%;
}
Gradient
.gradient-781fa5 {
  background: linear-gradient(135deg, #781fa5, #a51f8f);
}
Colored shadow
.shadow-781fa5 {
  box-shadow: 0 8px 24px rgb(120 31 165 / 0.35);
}

Purple Heart
#781fa5  rgb(120, 31, 165)  hsl(280, 68%, 38%)  Purple Heart
#4ca51f  rgb(76, 165, 31)  hsl(100, 68%, 38%)  Kelly Green
#a5781f  rgb(165, 120, 31)  hsl(40, 68%, 38%)  Dark Goldenrod
#1fa578  rgb(31, 165, 120)  hsl(160, 68%, 38%)  Jungle Green