#5A2FED

#5a2fed ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5a2fed is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 18.43% green and 92.94% blue; printed in CMYK it uses 62.03% cyan, 80.17% magenta, 0% yellow and 7.06% black. Its hue angle is 253.58°, with 84.07% saturation and 55.69% 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.85:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #5a2fed 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.1032

Readable text 6.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #5a4daa ≈ 0.001% of males
Protanopia #0060f2 ≈ 1.01% of males
Deuteranopia #0054ea ≈ 1.27% of males
Tritanopia #006a90 ≈ 0.0001% of males
Protanomaly #0051f0 ≈ 1.08% of males
Deuteranomaly #0048eb ≈ 4.63% of males
Tritanomaly #2d58bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5a2fed  rgb(90, 47, 237)  hsl(254, 84%, 56%)  Han Purple
#c2ed2f  rgb(194, 237, 47)  hsl(74, 84%, 56%)  Electric Lime
#ed5a2f  rgb(237, 90, 47)  hsl(14, 84%, 56%)  Flame
#2fed5a  rgb(47, 237, 90)  hsl(134, 84%, 56%)  Malachite