#520FF2

#520ff2 ≈ Han Purple

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

#520ff2 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.88% green and 94.9% blue; printed in CMYK it uses 66.12% cyan, 93.8% magenta, 0% yellow and 5.1% black. Its hue angle is 257.71°, with 89.72% saturation and 50.39% 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.75:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.43.

Description generated from the measured properties of this color.

Conversions of #520ff2 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.0855

Readable text 7.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5241ab ≈ 0.001% of males
Protanopia #005af7 ≈ 1.01% of males
Deuteranopia #004aef ≈ 1.27% of males
Tritanopia #00658f ≈ 0.0001% of males
Protanomaly #0047f5 ≈ 1.08% of males
Deuteranomaly #003bf0 ≈ 4.63% of males
Tritanomaly #0650bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#520ff2  rgb(82, 15, 242)  hsl(258, 90%, 50%)  Han Purple
#aff20f  rgb(175, 242, 15)  hsl(78, 90%, 50%)  Spring Bud
#f2520f  rgb(242, 82, 15)  hsl(18, 90%, 50%)  Tangelo
#0ff252  rgb(15, 242, 82)  hsl(138, 90%, 50%)  Spring Green