#5128FE

#5128fe ≈ Han Purple

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

#5128fe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 15.69% green and 99.61% blue; printed in CMYK it uses 68.11% cyan, 84.25% magenta, 0% yellow and 0.39% black. Its hue angle is 251.5°, with 99.07% saturation and 57.65% 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.81:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.

Description generated from the measured properties of this color.

Conversions of #5128fe 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.1042

Readable text 6.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #574bb4 ≈ 0.001% of males
Protanopia #0063ff ≈ 1.01% of males
Deuteranopia #0052fa ≈ 1.27% of males
Tritanopia #006f98 ≈ 0.0001% of males
Protanomaly #0051ff ≈ 1.08% of males
Deuteranomaly #0045fc ≈ 4.63% of males
Tritanomaly #005bc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5128fe {
  color: #5128fe;
}
Background
.bg-5128fe {
  background-color: #5128fe;
  color: #ffffff;
}
Border
.border-5128fe {
  border: 2px solid #5128fe;
}
CSS variables
:root {
  --color-primary: #5128fe;
  --color-primary-rgb: 81 40 254;
  --color-primary-hsl: 252 99% 58%;
}
Gradient
.gradient-5128fe {
  background: linear-gradient(135deg, #5128fe, #bc28fe);
}
Colored shadow
.shadow-5128fe {
  box-shadow: 0 8px 24px rgb(81 40 254 / 0.35);
}

Han Purple
#5128fe  rgb(81, 40, 254)  hsl(252, 99%, 58%)  Han Purple
#d5fe28  rgb(213, 254, 40)  hsl(72, 99%, 58%)  Electric Lime
#fe5128  rgb(254, 81, 40)  hsl(12, 99%, 58%)  Orange Red
#28fe51  rgb(40, 254, 81)  hsl(132, 99%, 58%)  Lime