#5628F2

#5628f2 ≈ Han Purple

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

#5628f2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 33.73% red, 15.69% green and 94.9% blue; printed in CMYK it uses 64.46% cyan, 83.47% magenta, 0% yellow and 5.1% black. Its hue angle is 253.66°, with 88.6% saturation and 55.29% 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.04:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.67.

Description generated from the measured properties of this color.

Conversions of #5628f2 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.0991

Readable text 7.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #584aac ≈ 0.001% of males
Protanopia #005ff7 ≈ 1.01% of males
Deuteranopia #0051ef ≈ 1.27% of males
Tritanopia #006a91 ≈ 0.0001% of males
Protanomaly #004ff5 ≈ 1.08% of males
Deuteranomaly #0044f0 ≈ 4.63% of males
Tritanomaly #1b57c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5628f2 {
  color: #5628f2;
}
Background
.bg-5628f2 {
  background-color: #5628f2;
  color: #ffffff;
}
Border
.border-5628f2 {
  border: 2px solid #5628f2;
}
CSS variables
:root {
  --color-primary: #5628f2;
  --color-primary-rgb: 86 40 242;
  --color-primary-hsl: 254 89% 55%;
}
Gradient
.gradient-5628f2 {
  background: linear-gradient(135deg, #5628f2, #bb28f2);
}
Colored shadow
.shadow-5628f2 {
  box-shadow: 0 8px 24px rgb(86 40 242 / 0.35);
}

Han Purple
#5628f2  rgb(86, 40, 242)  hsl(254, 89%, 55%)  Han Purple
#c4f228  rgb(196, 242, 40)  hsl(74, 89%, 55%)  Electric Lime
#f25628  rgb(242, 86, 40)  hsl(14, 89%, 55%)  Orange Red
#28f256  rgb(40, 242, 86)  hsl(134, 89%, 55%)  Spring Green