#5F1EFD

#5f1efd ≈ Han Purple

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

#5f1efd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 37.25% red, 11.76% green and 99.22% blue; printed in CMYK it uses 62.45% cyan, 88.14% magenta, 0% yellow and 0.78% black. Its hue angle is 257.49°, with 98.24% saturation and 55.49% 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.79:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 1.79.

Description generated from the measured properties of this color.

Conversions of #5f1efd 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.1045

Readable text 6.79:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5b5b5b ≈ 0.003% of males
Achromatomaly #5d4ab4 ≈ 0.001% of males
Protanopia #0061ff ≈ 1.01% of males
Deuteranopia #0053f9 ≈ 1.27% of males
Tritanopia #006b97 ≈ 0.0001% of males
Protanomaly #004fff ≈ 1.08% of males
Deuteranomaly #0044fb ≈ 4.63% of males
Tritanomaly #2d56c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5f1efd {
  color: #5f1efd;
}
Background
.bg-5f1efd {
  background-color: #5f1efd;
  color: #ffffff;
}
Border
.border-5f1efd {
  border: 2px solid #5f1efd;
}
CSS variables
:root {
  --color-primary: #5f1efd;
  --color-primary-rgb: 95 30 253;
  --color-primary-hsl: 257 98% 55%;
}
Gradient
.gradient-5f1efd {
  background: linear-gradient(135deg, #5f1efd, #cf1efd);
}
Colored shadow
.shadow-5f1efd {
  box-shadow: 0 8px 24px rgb(95 30 253 / 0.35);
}

Han Purple
#5f1efd  rgb(95, 30, 253)  hsl(257, 98%, 55%)  Han Purple
#bcfd1e  rgb(188, 253, 30)  hsl(77, 98%, 55%)  Spring Bud
#fd5f1e  rgb(253, 95, 30)  hsl(17, 98%, 55%)  International Orange
#1efd5f  rgb(30, 253, 95)  hsl(137, 98%, 55%)  Spring Green