#5117FE

#5117fe ≈ Han Purple

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

#5117fe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 9.02% green and 99.61% blue; printed in CMYK it uses 68.11% cyan, 90.94% magenta, 0% yellow and 0.39% black. Its hue angle is 255.06°, with 99.14% saturation and 54.31% 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 0.42.

Description generated from the measured properties of this color.

Conversions of #5117fe 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.0952

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

Achromatopsia #575757 ≈ 0.003% of males
Achromatomaly #5546b3 ≈ 0.001% of males
Protanopia #005fff ≈ 1.01% of males
Deuteranopia #004efa ≈ 1.27% of males
Tritanopia #006b97 ≈ 0.0001% of males
Protanomaly #004cff ≈ 1.08% of males
Deuteranomaly #003efc ≈ 4.63% of males
Tritanomaly #0056c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5117fe  rgb(81, 23, 254)  hsl(255, 99%, 54%)  Han Purple
#c4fe17  rgb(196, 254, 23)  hsl(75, 99%, 54%)  Electric Lime
#fe5117  rgb(254, 81, 23)  hsl(15, 99%, 54%)  International Orange
#17fe51  rgb(23, 254, 81)  hsl(135, 99%, 54%)  Lime