#5A2AED

#5a2aed ≈ Han Purple

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

#5a2aed 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 92.94% blue; printed in CMYK it uses 62.03% cyan, 82.28% magenta, 0% yellow and 7.06% black. Its hue angle is 254.77°, with 84.42% 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.03:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.14.

Description generated from the measured properties of this color.

Conversions of #5a2aed 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.0994

Readable text 7.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.99:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #594aa9 ≈ 0.001% of males
Protanopia #005ff2 ≈ 1.01% of males
Deuteranopia #0052ea ≈ 1.27% of males
Tritanopia #00688f ≈ 0.0001% of males
Protanomaly #004ff0 ≈ 1.08% of males
Deuteranomaly #0045eb ≈ 4.63% of males
Tritanomaly #2d56bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2aed {
  color: #5a2aed;
}
Background
.bg-5a2aed {
  background-color: #5a2aed;
  color: #ffffff;
}
Border
.border-5a2aed {
  border: 2px solid #5a2aed;
}
CSS variables
:root {
  --color-primary: #5a2aed;
  --color-primary-rgb: 90 42 237;
  --color-primary-hsl: 255 84% 55%;
}
Gradient
.gradient-5a2aed {
  background: linear-gradient(135deg, #5a2aed, #bc2aed);
}
Colored shadow
.shadow-5a2aed {
  box-shadow: 0 8px 24px rgb(90 42 237 / 0.35);
}

Han Purple
#5a2aed  rgb(90, 42, 237)  hsl(255, 84%, 55%)  Han Purple
#bded2a  rgb(189, 237, 42)  hsl(75, 84%, 55%)  Electric Lime
#ed5a2a  rgb(237, 90, 42)  hsl(15, 84%, 55%)  Flame
#2aed5a  rgb(42, 237, 90)  hsl(135, 84%, 55%)  Malachite