#5A38EE

#5a38ee ≈ Han Purple

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

#5a38ee is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 35.29% red, 21.96% green and 93.33% blue; printed in CMYK it uses 62.18% cyan, 76.47% magenta, 0% yellow and 6.67% black. Its hue angle is 251.21°, with 84.26% saturation and 57.65% 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.49:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #5a38ee 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.1118

Readable text 6.49: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 #5c51ab ≈ 0.001% of males
Protanopia #0064f3 ≈ 1.01% of males
Deuteranopia #0057eb ≈ 1.27% of males
Tritanopia #006e92 ≈ 0.0001% of males
Protanomaly #0056f1 ≈ 1.08% of males
Deuteranomaly #004dec ≈ 4.63% of males
Tritanomaly #2b5dbe ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5a38ee  rgb(90, 56, 238)  hsl(251, 84%, 58%)  Han Purple
#ccee38  rgb(204, 238, 56)  hsl(71, 84%, 58%)  Pear
#ee5a38  rgb(238, 90, 56)  hsl(11, 84%, 58%)  Tomato
#38ee5a  rgb(56, 238, 90)  hsl(131, 84%, 58%)  Malachite