#5221FA

#5221fa ≈ Han Purple

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

#5221fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 32.16% red, 12.94% green and 98.04% blue; printed in CMYK it uses 67.2% cyan, 86.8% magenta, 0% yellow and 1.96% black. Its hue angle is 253.55°, with 95.59% saturation and 55.49% 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.1:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.9.

Description generated from the measured properties of this color.

Conversions of #5221fa into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0978

Readable text 7.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5648b1 ≈ 0.001% of males
Protanopia #0060ff ≈ 1.01% of males
Deuteranopia #004ff7 ≈ 1.27% of males
Tritanopia #006c95 ≈ 0.0001% of males
Protanomaly #004efd ≈ 1.08% of males
Deuteranomaly #0041f8 ≈ 4.63% of males
Tritanomaly #0057c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5221fa {
  color: #5221fa;
}
Background
.bg-5221fa {
  background-color: #5221fa;
  color: #ffffff;
}
Border
.border-5221fa {
  border: 2px solid #5221fa;
}
CSS variables
:root {
  --color-primary: #5221fa;
  --color-primary-rgb: 82 33 250;
  --color-primary-hsl: 254 96% 55%;
}
Gradient
.gradient-5221fa {
  background: linear-gradient(135deg, #5221fa, #bf21fa);
}
Colored shadow
.shadow-5221fa {
  box-shadow: 0 8px 24px rgb(82 33 250 / 0.35);
}

Han Purple
#5221fa  rgb(82, 33, 250)  hsl(254, 96%, 55%)  Han Purple
#c9fa21  rgb(201, 250, 33)  hsl(74, 96%, 55%)  Electric Lime
#fa5221  rgb(250, 82, 33)  hsl(14, 96%, 55%)  Orange Red
#21fa52  rgb(33, 250, 82)  hsl(134, 96%, 55%)  Lime