#5F2AFE

#5f2afe ≈ Han Purple

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

#5f2afe is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 16.47% green and 99.61% blue; printed in CMYK it uses 62.6% cyan, 83.46% magenta, 0% yellow and 0.39% black. Its hue angle is 255°, with 99.07% saturation and 58.04% 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.46:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #5f2afe 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.1124

Readable text 6.46:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.25:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5e5e5e ≈ 0.003% of males
Achromatomaly #5f4eb5 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #0057fa ≈ 1.27% of males
Tritanopia #006f99 ≈ 0.0001% of males
Protanomaly #0053ff ≈ 1.08% of males
Deuteranomaly #0049fc ≈ 4.63% of males
Tritanomaly #2b5bc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2afe {
  color: #5f2afe;
}
Background
.bg-5f2afe {
  background-color: #5f2afe;
  color: #ffffff;
}
Border
.border-5f2afe {
  border: 2px solid #5f2afe;
}
CSS variables
:root {
  --color-primary: #5f2afe;
  --color-primary-rgb: 95 42 254;
  --color-primary-hsl: 255 99% 58%;
}
Gradient
.gradient-5f2afe {
  background: linear-gradient(135deg, #5f2afe, #c92afe);
}
Colored shadow
.shadow-5f2afe {
  box-shadow: 0 8px 24px rgb(95 42 254 / 0.35);
}

Han Purple
#5f2afe  rgb(95, 42, 254)  hsl(255, 99%, 58%)  Han Purple
#c9fe2a  rgb(201, 254, 42)  hsl(75, 99%, 58%)  Electric Lime
#fe5f2a  rgb(254, 95, 42)  hsl(15, 99%, 58%)  International Orange
#2afe5f  rgb(42, 254, 95)  hsl(135, 99%, 58%)  Spring Green