#5712EA

#5712ea ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#5712ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.12% red, 7.06% green and 91.76% blue; printed in CMYK it uses 62.82% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 259.17°, with 85.71% saturation and 49.41% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.84:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #5712ea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.084

Readable text 7.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.68:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5441a6 ≈ 0.001% of males
Protanopia #0058ef ≈ 1.01% of males
Deuteranopia #004be7 ≈ 1.27% of males
Tritanopia #00618a ≈ 0.0001% of males
Protanomaly #0046ed ≈ 1.08% of males
Deuteranomaly #003be8 ≈ 4.63% of males
Tritanomaly #284db8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5712ea {
  color: #5712ea;
}
Background
.bg-5712ea {
  background-color: #5712ea;
  color: #ffffff;
}
Border
.border-5712ea {
  border: 2px solid #5712ea;
}
CSS variables
:root {
  --color-primary: #5712ea;
  --color-primary-rgb: 87 18 234;
  --color-primary-hsl: 259 86% 49%;
}
Gradient
.gradient-5712ea {
  background: linear-gradient(135deg, #5712ea, #c312ea);
}
Colored shadow
.shadow-5712ea {
  box-shadow: 0 8px 24px rgb(87 18 234 / 0.35);
}

Han Purple
#5712ea  rgb(87, 18, 234)  hsl(259, 86%, 49%)  Han Purple
#a5ea12  rgb(165, 234, 18)  hsl(79, 86%, 49%)  Spring Bud
#ea5712  rgb(234, 87, 18)  hsl(19, 86%, 49%)  Persimmon
#12ea57  rgb(18, 234, 87)  hsl(139, 86%, 49%)  Malachite