#5F2FFB

#5f2ffb ≈ Han Purple

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

#5f2ffb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 18.43% green and 98.43% blue; printed in CMYK it uses 62.15% cyan, 81.27% magenta, 0% yellow and 1.57% black. Its hue angle is 254.12°, with 96.23% saturation and 58.43% 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.39:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.41.

Description generated from the measured properties of this color.

Conversions of #5f2ffb 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.1143

Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #5f50b4 ≈ 0.001% of males
Protanopia #0065ff ≈ 1.01% of males
Deuteranopia #0058f8 ≈ 1.27% of males
Tritanopia #006f98 ≈ 0.0001% of males
Protanomaly #0055fe ≈ 1.08% of males
Deuteranomaly #004bf9 ≈ 4.63% of males
Tritanomaly #2e5cc7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#5f2ffb  rgb(95, 47, 251)  hsl(254, 96%, 58%)  Han Purple
#cbfb2f  rgb(203, 251, 47)  hsl(74, 96%, 58%)  Electric Lime
#fb5f2f  rgb(251, 95, 47)  hsl(14, 96%, 58%)  International Orange
#2ffb5f  rgb(47, 251, 95)  hsl(134, 96%, 58%)  Spring Green