#5115FA

#5115fa ≈ Han Purple

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

#5115fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 31.76% red, 8.24% green and 98.04% blue; printed in CMYK it uses 67.6% cyan, 91.6% magenta, 0% yellow and 1.96% black. Its hue angle is 255.72°, with 95.82% saturation and 53.14% 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.4:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 0.29.

Description generated from the measured properties of this color.

Conversions of #5115fa 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.0919

Readable text 7.4:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.84:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #555555 ≈ 0.003% of males
Achromatomaly #5444b1 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #004df6 ≈ 1.27% of males
Tritanopia #006994 ≈ 0.0001% of males
Protanomaly #004afd ≈ 1.08% of males
Deuteranomaly #003df8 ≈ 4.63% of males
Tritanomaly #0054c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5115fa {
  color: #5115fa;
}
Background
.bg-5115fa {
  background-color: #5115fa;
  color: #ffffff;
}
Border
.border-5115fa {
  border: 2px solid #5115fa;
}
CSS variables
:root {
  --color-primary: #5115fa;
  --color-primary-rgb: 81 21 250;
  --color-primary-hsl: 256 96% 53%;
}
Gradient
.gradient-5115fa {
  background: linear-gradient(135deg, #5115fa, #c415fa);
}
Colored shadow
.shadow-5115fa {
  box-shadow: 0 8px 24px rgb(81 21 250 / 0.35);
}

Han Purple
#5115fa  rgb(81, 21, 250)  hsl(256, 96%, 53%)  Han Purple
#befa15  rgb(190, 250, 21)  hsl(76, 96%, 53%)  Electric Lime
#fa5115  rgb(250, 81, 21)  hsl(16, 96%, 53%)  Tangelo
#15fa51  rgb(21, 250, 81)  hsl(136, 96%, 53%)  Lime