#5A2DFD

#5a2dfd ≈ Han Purple

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

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

Description generated from the measured properties of this color.

Conversions of #5a2dfd 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.1114

Readable text 6.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.23: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 #0056f9 ≈ 1.27% of males
Tritanopia #007099 ≈ 0.0001% of males
Protanomaly #0054ff ≈ 1.08% of males
Deuteranomaly #0049fb ≈ 4.63% of males
Tritanomaly #1c5cc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5a2dfd  rgb(90, 45, 253)  hsl(253, 98%, 58%)  Han Purple
#d0fd2d  rgb(208, 253, 45)  hsl(73, 98%, 58%)  Electric Lime
#fd5a2d  rgb(253, 90, 45)  hsl(13, 98%, 58%)  Orange Red
#2dfd5a  rgb(45, 253, 90)  hsl(133, 98%, 58%)  Spring Green