#5904EA

#5904ea ≈ Han Purple

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

#5904ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.9% red, 1.57% green and 91.76% blue; printed in CMYK it uses 61.97% cyan, 98.29% magenta, 0% yellow and 8.24% black. Its hue angle is 262.17°, with 96.64% saturation and 46.67% 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 7.98:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.58.

Description generated from the measured properties of this color.

Conversions of #5904ea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6600ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0815

Readable text 7.98:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.63:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #543fa5 ≈ 0.001% of males
Protanopia #0056ef ≈ 1.01% of males
Deuteranopia #004ae7 ≈ 1.27% of males
Tritanopia #005f89 ≈ 0.0001% of males
Protanomaly #0043ed ≈ 1.08% of males
Deuteranomaly #0039e8 ≈ 4.63% of males
Tritanomaly #2e4ab8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5904ea {
  color: #5904ea;
}
Background
.bg-5904ea {
  background-color: #5904ea;
  color: #ffffff;
}
Border
.border-5904ea {
  border: 2px solid #5904ea;
}
CSS variables
:root {
  --color-primary: #5904ea;
  --color-primary-rgb: 89 4 234;
  --color-primary-hsl: 262 97% 47%;
}
Gradient
.gradient-5904ea {
  background: linear-gradient(135deg, #5904ea, #cc04ea);
}
Colored shadow
.shadow-5904ea {
  box-shadow: 0 8px 24px rgb(89 4 234 / 0.35);
}

Han Purple
#5904ea  rgb(89, 4, 234)  hsl(262, 97%, 47%)  Han Purple
#95ea04  rgb(149, 234, 4)  hsl(82, 97%, 47%)  Spring Bud
#ea5904  rgb(234, 89, 4)  hsl(22, 97%, 47%)  Persimmon
#04ea59  rgb(4, 234, 89)  hsl(142, 97%, 47%)  Malachite