#5B2FF2

#5b2ff2 ≈ Han Purple

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

#5b2ff2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.69% red, 18.43% green and 94.9% blue; printed in CMYK it uses 62.4% cyan, 80.58% magenta, 0% yellow and 5.1% black. Its hue angle is 253.54°, with 88.24% saturation and 56.67% 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.7:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.81.

Description generated from the measured properties of this color.

Conversions of #5b2ff2 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.1067

Readable text 6.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5c4ead ≈ 0.001% of males
Protanopia #0062f7 ≈ 1.01% of males
Deuteranopia #0055ef ≈ 1.27% of males
Tritanopia #006c93 ≈ 0.0001% of males
Protanomaly #0052f5 ≈ 1.08% of males
Deuteranomaly #0048f0 ≈ 4.63% of males
Tritanomaly #2b59c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5b2ff2 {
  color: #5b2ff2;
}
Background
.bg-5b2ff2 {
  background-color: #5b2ff2;
  color: #ffffff;
}
Border
.border-5b2ff2 {
  border: 2px solid #5b2ff2;
}
CSS variables
:root {
  --color-primary: #5b2ff2;
  --color-primary-rgb: 91 47 242;
  --color-primary-hsl: 254 88% 57%;
}
Gradient
.gradient-5b2ff2 {
  background: linear-gradient(135deg, #5b2ff2, #bd2ff2);
}
Colored shadow
.shadow-5b2ff2 {
  box-shadow: 0 8px 24px rgb(91 47 242 / 0.35);
}

Han Purple
#5b2ff2  rgb(91, 47, 242)  hsl(254, 88%, 57%)  Han Purple
#c6f22f  rgb(198, 242, 47)  hsl(74, 88%, 57%)  Electric Lime
#f25b2f  rgb(242, 91, 47)  hsl(14, 88%, 57%)  Flame
#2ff25b  rgb(47, 242, 91)  hsl(134, 88%, 57%)  Spring Green