#5E02EC

#5e02ec ≈ Han Purple

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

#5e02ec is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 36.86% red, 0.78% green and 92.55% blue; printed in CMYK it uses 60.17% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 263.59°, with 98.32% saturation and 46.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 7.79:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 2.42.

Description generated from the measured properties of this color.

Conversions of #5e02ec 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.0848

Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #525252 ≈ 0.003% of males
Achromatomaly #5740a7 ≈ 0.001% of males
Protanopia #0058f1 ≈ 1.01% of males
Deuteranopia #004ce9 ≈ 1.27% of males
Tritanopia #005f8a ≈ 0.0001% of males
Protanomaly #0044ef ≈ 1.08% of males
Deuteranomaly #003bea ≈ 4.63% of males
Tritanomaly #384bba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5e02ec {
  color: #5e02ec;
}
Background
.bg-5e02ec {
  background-color: #5e02ec;
  color: #ffffff;
}
Border
.border-5e02ec {
  border: 2px solid #5e02ec;
}
CSS variables
:root {
  --color-primary: #5e02ec;
  --color-primary-rgb: 94 2 236;
  --color-primary-hsl: 264 98% 47%;
}
Gradient
.gradient-5e02ec {
  background: linear-gradient(135deg, #5e02ec, #d302ec);
}
Colored shadow
.shadow-5e02ec {
  box-shadow: 0 8px 24px rgb(94 2 236 / 0.35);
}

Han Purple
#5e02ec  rgb(94, 2, 236)  hsl(264, 98%, 47%)  Han Purple
#90ec02  rgb(144, 236, 2)  hsl(84, 98%, 47%)  Spring Bud
#ec5e02  rgb(236, 94, 2)  hsl(24, 98%, 47%)  Persimmon
#02ec5e  rgb(2, 236, 94)  hsl(144, 98%, 47%)  Malachite