#5938EA

#5938ea ≈ Han Purple

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

#5938ea is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 34.9% red, 21.96% green and 91.76% blue; printed in CMYK it uses 61.97% cyan, 76.07% magenta, 0% yellow and 8.24% black. Its hue angle is 251.12°, with 80.91% saturation and 56.86% 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.61:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 4.17.

Description generated from the measured properties of this color.

Conversions of #5938ea 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.1089

Readable text 6.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5d5d5d ≈ 0.003% of males
Achromatomaly #5b50a9 ≈ 0.001% of males
Protanopia #0063ef ≈ 1.01% of males
Deuteranopia #0056e7 ≈ 1.27% of males
Tritanopia #006c90 ≈ 0.0001% of males
Protanomaly #0055ed ≈ 1.08% of males
Deuteranomaly #004ce8 ≈ 4.63% of males
Tritanomaly #2c5cbb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5938ea {
  color: #5938ea;
}
Background
.bg-5938ea {
  background-color: #5938ea;
  color: #ffffff;
}
Border
.border-5938ea {
  border: 2px solid #5938ea;
}
CSS variables
:root {
  --color-primary: #5938ea;
  --color-primary-rgb: 89 56 234;
  --color-primary-hsl: 251 81% 57%;
}
Gradient
.gradient-5938ea {
  background: linear-gradient(135deg, #5938ea, #b238ea);
}
Colored shadow
.shadow-5938ea {
  box-shadow: 0 8px 24px rgb(89 56 234 / 0.35);
}

Han Purple
#5938ea  rgb(89, 56, 234)  hsl(251, 81%, 57%)  Han Purple
#c9ea38  rgb(201, 234, 56)  hsl(71, 81%, 57%)  Pear
#ea5938  rgb(234, 89, 56)  hsl(11, 81%, 57%)  Flame
#38ea59  rgb(56, 234, 89)  hsl(131, 81%, 57%)  Malachite