#5F2AEF

#5f2aef ≈ Han Purple

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

#5f2aef 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 93.73% blue; printed in CMYK it uses 60.25% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 256.14°, with 86.03% saturation and 55.1% 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.85:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 2.38.

Description generated from the measured properties of this color.

Conversions of #5f2aef 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.1032

Readable text 6.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5a5a5a ≈ 0.003% of males
Achromatomaly #5c4bab ≈ 0.001% of males
Protanopia #0060f4 ≈ 1.01% of males
Deuteranopia #0054ec ≈ 1.27% of males
Tritanopia #006990 ≈ 0.0001% of males
Protanomaly #0050f2 ≈ 1.08% of males
Deuteranomaly #0047ed ≈ 4.63% of males
Tritanomaly #3756be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f2aef {
  color: #5f2aef;
}
Background
.bg-5f2aef {
  background-color: #5f2aef;
  color: #ffffff;
}
Border
.border-5f2aef {
  border: 2px solid #5f2aef;
}
CSS variables
:root {
  --color-primary: #5f2aef;
  --color-primary-rgb: 95 42 239;
  --color-primary-hsl: 256 86% 55%;
}
Gradient
.gradient-5f2aef {
  background: linear-gradient(135deg, #5f2aef, #c12aef);
}
Colored shadow
.shadow-5f2aef {
  box-shadow: 0 8px 24px rgb(95 42 239 / 0.35);
}

Han Purple
#5f2aef  rgb(95, 42, 239)  hsl(256, 86%, 55%)  Han Purple
#baef2a  rgb(186, 239, 42)  hsl(76, 86%, 55%)  Electric Lime
#ef5f2a  rgb(239, 95, 42)  hsl(16, 86%, 55%)  Flame
#2aef5f  rgb(42, 239, 95)  hsl(136, 86%, 55%)  Spring Green