#5828EA

#5828ea ≈ Han Purple

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

#5828ea is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 34.51% red, 15.69% green and 91.76% blue; printed in CMYK it uses 62.39% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 254.85°, with 82.2% saturation and 53.73% 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.23:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.02.

Description generated from the measured properties of this color.

Conversions of #5828ea 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.0953

Readable text 7.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.91:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5748a7 ≈ 0.001% of males
Protanopia #005def ≈ 1.01% of males
Deuteranopia #0050e7 ≈ 1.27% of males
Tritanopia #00668d ≈ 0.0001% of males
Protanomaly #004ded ≈ 1.08% of males
Deuteranomaly #0043e8 ≈ 4.63% of males
Tritanomaly #2a54ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5828ea {
  color: #5828ea;
}
Background
.bg-5828ea {
  background-color: #5828ea;
  color: #ffffff;
}
Border
.border-5828ea {
  border: 2px solid #5828ea;
}
CSS variables
:root {
  --color-primary: #5828ea;
  --color-primary-rgb: 88 40 234;
  --color-primary-hsl: 255 82% 54%;
}
Gradient
.gradient-5828ea {
  background: linear-gradient(135deg, #5828ea, #b928ea);
}
Colored shadow
.shadow-5828ea {
  box-shadow: 0 8px 24px rgb(88 40 234 / 0.35);
}

Han Purple
#5828ea  rgb(88, 40, 234)  hsl(255, 82%, 54%)  Han Purple
#baea28  rgb(186, 234, 40)  hsl(75, 82%, 54%)  Electric Lime
#ea5828  rgb(234, 88, 40)  hsl(15, 82%, 54%)  Flame
#28ea58  rgb(40, 234, 88)  hsl(135, 82%, 54%)  Malachite