#5A2AFA

#5a2afa ≈ Han Purple

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

#5a2afa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 16.47% green and 98.04% blue; printed in CMYK it uses 64% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 253.85°, with 95.41% saturation and 57.25% 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 6.67:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.36.

Description generated from the measured properties of this color.

Conversions of #5a2afa 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.1073

Readable text 6.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5b4db2 ≈ 0.001% of males
Protanopia #0063ff ≈ 1.01% of males
Deuteranopia #0054f7 ≈ 1.27% of males
Tritanopia #006e96 ≈ 0.0001% of males
Protanomaly #0052fd ≈ 1.08% of males
Deuteranomaly #0047f8 ≈ 4.63% of males
Tritanomaly #205ac6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2afa {
  color: #5a2afa;
}
Background
.bg-5a2afa {
  background-color: #5a2afa;
  color: #ffffff;
}
Border
.border-5a2afa {
  border: 2px solid #5a2afa;
}
CSS variables
:root {
  --color-primary: #5a2afa;
  --color-primary-rgb: 90 42 250;
  --color-primary-hsl: 254 95% 57%;
}
Gradient
.gradient-5a2afa {
  background: linear-gradient(135deg, #5a2afa, #c22afa);
}
Colored shadow
.shadow-5a2afa {
  box-shadow: 0 8px 24px rgb(90 42 250 / 0.35);
}

Han Purple
#5a2afa  rgb(90, 42, 250)  hsl(254, 95%, 57%)  Han Purple
#cafa2a  rgb(202, 250, 42)  hsl(74, 95%, 57%)  Electric Lime
#fa5a2a  rgb(250, 90, 42)  hsl(14, 95%, 57%)  International Orange
#2afa5a  rgb(42, 250, 90)  hsl(134, 95%, 57%)  Spring Green