#520EF2

#520ef2 ≈ Han Purple

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

#520ef2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 5.49% green and 94.9% blue; printed in CMYK it uses 66.12% cyan, 94.21% magenta, 0% yellow and 5.1% black. Its hue angle is 257.89°, with 89.76% saturation and 50.2% 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.77:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.48.

Description generated from the measured properties of this color.

Conversions of #520ef2 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.0852

Readable text 7.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5241ab ≈ 0.001% of males
Protanopia #005af7 ≈ 1.01% of males
Deuteranopia #004aef ≈ 1.27% of males
Tritanopia #00648f ≈ 0.0001% of males
Protanomaly #0047f5 ≈ 1.08% of males
Deuteranomaly #003af0 ≈ 4.63% of males
Tritanomaly #064fbf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-520ef2 {
  color: #520ef2;
}
Background
.bg-520ef2 {
  background-color: #520ef2;
  color: #ffffff;
}
Border
.border-520ef2 {
  border: 2px solid #520ef2;
}
CSS variables
:root {
  --color-primary: #520ef2;
  --color-primary-rgb: 82 14 242;
  --color-primary-hsl: 258 90% 50%;
}
Gradient
.gradient-520ef2 {
  background: linear-gradient(135deg, #520ef2, #c40ef2);
}
Colored shadow
.shadow-520ef2 {
  box-shadow: 0 8px 24px rgb(82 14 242 / 0.35);
}

Han Purple
#520ef2  rgb(82, 14, 242)  hsl(258, 90%, 50%)  Han Purple
#aef20e  rgb(174, 242, 14)  hsl(78, 90%, 50%)  Spring Bud
#f2520e  rgb(242, 82, 14)  hsl(18, 90%, 50%)  Tangelo
#0ef252  rgb(14, 242, 82)  hsl(138, 90%, 50%)  Spring Green