#5212E9

#5212e9 ≈ Han Purple

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

#5212e9 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 7.06% green and 91.37% blue; printed in CMYK it uses 64.81% cyan, 92.27% magenta, 0% yellow and 8.63% black. Its hue angle is 257.86°, with 85.66% saturation and 49.22% 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.01:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.34.

Description generated from the measured properties of this color.

Conversions of #5212e9 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.0811

Readable text 8.01:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.62:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #505050 ≈ 0.003% of males
Achromatomaly #5140a5 ≈ 0.001% of males
Protanopia #0057ee ≈ 1.01% of males
Deuteranopia #0049e6 ≈ 1.27% of males
Tritanopia #00618a ≈ 0.0001% of males
Protanomaly #0045ec ≈ 1.08% of males
Deuteranomaly #003ae7 ≈ 4.63% of males
Tritanomaly #194db8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5212e9 {
  color: #5212e9;
}
Background
.bg-5212e9 {
  background-color: #5212e9;
  color: #ffffff;
}
Border
.border-5212e9 {
  border: 2px solid #5212e9;
}
CSS variables
:root {
  --color-primary: #5212e9;
  --color-primary-rgb: 82 18 233;
  --color-primary-hsl: 258 86% 49%;
}
Gradient
.gradient-5212e9 {
  background: linear-gradient(135deg, #5212e9, #be12e9);
}
Colored shadow
.shadow-5212e9 {
  box-shadow: 0 8px 24px rgb(82 18 233 / 0.35);
}

Han Purple
#5212e9  rgb(82, 18, 233)  hsl(258, 86%, 49%)  Han Purple
#a9e912  rgb(169, 233, 18)  hsl(78, 86%, 49%)  Spring Bud
#e95212  rgb(233, 82, 18)  hsl(18, 86%, 49%)  Flame
#12e952  rgb(18, 233, 82)  hsl(138, 86%, 49%)  Malachite