#5F2DE2

#5f2de2 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#5f2de2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 17.65% green and 88.63% blue; printed in CMYK it uses 57.96% cyan, 80.09% magenta, 0% yellow and 11.37% black. Its hue angle is 256.57°, with 75.73% 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 brand accents. White text on this color reaches a contrast ratio of 7.09:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.18.

Description generated from the measured properties of this color.

Conversions of #5f2de2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#6633cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.098

Readable text 7.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.96:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5b4aa2 ≈ 0.001% of males
Protanopia #005de7 ≈ 1.01% of males
Deuteranopia #0053df ≈ 1.27% of males
Tritanopia #116489 ≈ 0.0001% of males
Protanomaly #004ee5 ≈ 1.08% of males
Deuteranomaly #0046e0 ≈ 4.63% of males
Tritanomaly #3f53b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2de2 {
  color: #5f2de2;
}
Background
.bg-5f2de2 {
  background-color: #5f2de2;
  color: #ffffff;
}
Border
.border-5f2de2 {
  border: 2px solid #5f2de2;
}
CSS variables
:root {
  --color-primary: #5f2de2;
  --color-primary-rgb: 95 45 226;
  --color-primary-hsl: 257 76% 53%;
}
Gradient
.gradient-5f2de2 {
  background: linear-gradient(135deg, #5f2de2, #b92de2);
}
Colored shadow
.shadow-5f2de2 {
  box-shadow: 0 8px 24px rgb(95 45 226 / 0.35);
}

Han Purple
#5f2de2  rgb(95, 45, 226)  hsl(257, 76%, 53%)  Han Purple
#b0e22d  rgb(176, 226, 45)  hsl(77, 76%, 53%)  June Bud
#e25f2d  rgb(226, 95, 45)  hsl(17, 76%, 53%)  Flame
#2de25f  rgb(45, 226, 95)  hsl(137, 76%, 53%)  Malachite