#5E12DA

#5e12da ≈ Han Purple

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

#5e12da is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.86% red, 7.06% green and 85.49% blue; printed in CMYK it uses 56.88% cyan, 91.74% magenta, 0% yellow and 14.51% black. Its hue angle is 262.8°, with 84.75% saturation and 46.27% 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 8.16:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.96.

Description generated from the measured properties of this color.

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

Readable text 8.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.57:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4f4f4f ≈ 0.003% of males
Achromatomaly #563f9b ≈ 0.001% of males
Protanopia #0053df ≈ 1.01% of males
Deuteranopia #004ad7 ≈ 1.27% of males
Tritanopia #205981 ≈ 0.0001% of males
Protanomaly #0042dd ≈ 1.08% of males
Deuteranomaly #003bd8 ≈ 4.63% of males
Tritanomaly #4147ac ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e12da {
  color: #5e12da;
}
Background
.bg-5e12da {
  background-color: #5e12da;
  color: #ffffff;
}
Border
.border-5e12da {
  border: 2px solid #5e12da;
}
CSS variables
:root {
  --color-primary: #5e12da;
  --color-primary-rgb: 94 18 218;
  --color-primary-hsl: 263 85% 46%;
}
Gradient
.gradient-5e12da {
  background: linear-gradient(135deg, #5e12da, #c212da);
}
Colored shadow
.shadow-5e12da {
  box-shadow: 0 8px 24px rgb(94 18 218 / 0.35);
}

Han Purple
#5e12da  rgb(94, 18, 218)  hsl(263, 85%, 46%)  Han Purple
#8eda12  rgb(142, 218, 18)  hsl(83, 85%, 46%)  Yellow Green
#da5e12  rgb(218, 94, 18)  hsl(23, 85%, 46%)  Persimmon
#12da5e  rgb(18, 218, 94)  hsl(143, 85%, 46%)  Malachite