#5A2EFD

#5a2efd ≈ Han Purple

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

#5a2efd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 18.04% green and 99.22% blue; printed in CMYK it uses 64.43% cyan, 81.82% magenta, 0% yellow and 0.78% black. Its hue angle is 252.75°, with 98.1% saturation and 58.63% 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.47:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #5a2efd 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.1122

Readable text 6.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5c4fb5 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #0056fa ≈ 1.27% of males
Tritanopia #007099 ≈ 0.0001% of males
Protanomaly #0054ff ≈ 1.08% of males
Deuteranomaly #0049fb ≈ 4.63% of males
Tritanomaly #1c5dc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a2efd {
  color: #5a2efd;
}
Background
.bg-5a2efd {
  background-color: #5a2efd;
  color: #ffffff;
}
Border
.border-5a2efd {
  border: 2px solid #5a2efd;
}
CSS variables
:root {
  --color-primary: #5a2efd;
  --color-primary-rgb: 90 46 253;
  --color-primary-hsl: 253 98% 59%;
}
Gradient
.gradient-5a2efd {
  background: linear-gradient(135deg, #5a2efd, #c12efd);
}
Colored shadow
.shadow-5a2efd {
  box-shadow: 0 8px 24px rgb(90 46 253 / 0.35);
}

Han Purple
#5a2efd  rgb(90, 46, 253)  hsl(253, 98%, 59%)  Han Purple
#d1fd2e  rgb(209, 253, 46)  hsl(73, 98%, 59%)  Electric Lime
#fd5a2e  rgb(253, 90, 46)  hsl(13, 98%, 59%)  Orange Red
#2efd5a  rgb(46, 253, 90)  hsl(133, 98%, 59%)  Spring Green