#5218FF

#5218ff ≈ Han Purple

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

#5218ff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 9.41% green and 100% blue; printed in CMYK it uses 67.84% cyan, 90.59% magenta, 0% yellow and 0% black. Its hue angle is 255.06°, with 100% saturation and 54.71% 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.16:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.61.

Description generated from the measured properties of this color.

Conversions of #5218ff 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.0967

Readable text 7.16:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.93:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5546b4 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004ffb ≈ 1.27% of males
Tritanopia #006c97 ≈ 0.0001% of males
Protanomaly #004dff ≈ 1.08% of males
Deuteranomaly #003ffd ≈ 4.63% of males
Tritanomaly #0056c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5218ff {
  color: #5218ff;
}
Background
.bg-5218ff {
  background-color: #5218ff;
  color: #ffffff;
}
Border
.border-5218ff {
  border: 2px solid #5218ff;
}
CSS variables
:root {
  --color-primary: #5218ff;
  --color-primary-rgb: 82 24 255;
  --color-primary-hsl: 255 100% 55%;
}
Gradient
.gradient-5218ff {
  background: linear-gradient(135deg, #5218ff, #c518ff);
}
Colored shadow
.shadow-5218ff {
  box-shadow: 0 8px 24px rgb(82 24 255 / 0.35);
}

Han Purple
#5218ff  rgb(82, 24, 255)  hsl(255, 100%, 55%)  Han Purple
#c5ff18  rgb(197, 255, 24)  hsl(75, 100%, 55%)  Electric Lime
#ff5218  rgb(255, 82, 24)  hsl(15, 100%, 55%)  International Orange
#18ff52  rgb(24, 255, 82)  hsl(135, 100%, 55%)  Lime