#5124EA

#5124ea ≈ Han Purple

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

#5124ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 14.12% green and 91.76% blue; printed in CMYK it uses 65.38% cyan, 84.62% magenta, 0% yellow and 8.24% black. Its hue angle is 253.64°, with 82.5% saturation and 52.94% 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.53:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.81.

Description generated from the measured properties of this color.

Conversions of #5124ea 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.0895

Readable text 7.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5346a6 ≈ 0.001% of males
Protanopia #005bef ≈ 1.01% of males
Deuteranopia #004de7 ≈ 1.27% of males
Tritanopia #00658c ≈ 0.0001% of males
Protanomaly #004bed ≈ 1.08% of males
Deuteranomaly #0040e8 ≈ 4.63% of males
Tritanomaly #1253b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5124ea {
  color: #5124ea;
}
Background
.bg-5124ea {
  background-color: #5124ea;
  color: #ffffff;
}
Border
.border-5124ea {
  border: 2px solid #5124ea;
}
CSS variables
:root {
  --color-primary: #5124ea;
  --color-primary-rgb: 81 36 234;
  --color-primary-hsl: 254 83% 53%;
}
Gradient
.gradient-5124ea {
  background: linear-gradient(135deg, #5124ea, #b424ea);
}
Colored shadow
.shadow-5124ea {
  box-shadow: 0 8px 24px rgb(81 36 234 / 0.35);
}

Han Purple
#5124ea  rgb(81, 36, 234)  hsl(254, 83%, 53%)  Han Purple
#bdea24  rgb(189, 234, 36)  hsl(74, 83%, 53%)  Electric Lime
#ea5124  rgb(234, 81, 36)  hsl(14, 83%, 53%)  Flame
#24ea51  rgb(36, 234, 81)  hsl(134, 83%, 53%)  Malachite