#5215FF

#5215ff ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #5215ff 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.0955

Readable text 7.22:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5545b4 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #004efb ≈ 1.27% of males
Tritanopia #006b97 ≈ 0.0001% of males
Protanomaly #004cff ≈ 1.08% of males
Deuteranomaly #003efd ≈ 4.63% of males
Tritanomaly #0055c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5215ff  rgb(82, 21, 255)  hsl(256, 100%, 54%)  Han Purple
#c2ff15  rgb(194, 255, 21)  hsl(76, 100%, 54%)  Electric Lime
#ff5215  rgb(255, 82, 21)  hsl(16, 100%, 54%)  International Orange
#15ff52  rgb(21, 255, 82)  hsl(136, 100%, 54%)  Lime