#5A08FC

#5a08fc ≈ Han Purple

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

#5a08fc is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 35.29% red, 3.14% green and 98.82% blue; printed in CMYK it uses 64.29% cyan, 96.83% magenta, 0% yellow and 1.18% black. Its hue angle is 260.16°, with 97.6% saturation and 50.98% 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 7.3:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 1.03.

Description generated from the measured properties of this color.

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

Readable text 7.3:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #5844b2 ≈ 0.001% of males
Protanopia #005dff ≈ 1.01% of males
Deuteranopia #004ef8 ≈ 1.27% of males
Tritanopia #006894 ≈ 0.0001% of males
Protanomaly #0049ff ≈ 1.08% of males
Deuteranomaly #003dfa ≈ 4.63% of males
Tritanomaly #1f52c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a08fc {
  color: #5a08fc;
}
Background
.bg-5a08fc {
  background-color: #5a08fc;
  color: #ffffff;
}
Border
.border-5a08fc {
  border: 2px solid #5a08fc;
}
CSS variables
:root {
  --color-primary: #5a08fc;
  --color-primary-rgb: 90 8 252;
  --color-primary-hsl: 260 98% 51%;
}
Gradient
.gradient-5a08fc {
  background: linear-gradient(135deg, #5a08fc, #d408fc);
}
Colored shadow
.shadow-5a08fc {
  box-shadow: 0 8px 24px rgb(90 8 252 / 0.35);
}

Han Purple
#5a08fc  rgb(90, 8, 252)  hsl(260, 98%, 51%)  Han Purple
#aafc08  rgb(170, 252, 8)  hsl(80, 98%, 51%)  Spring Bud
#fc5a08  rgb(252, 90, 8)  hsl(20, 98%, 51%)  International Orange
#08fc5a  rgb(8, 252, 90)  hsl(140, 98%, 51%)  Spring Green