#6402E2

#6402e2 ≈ Han Purple

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

#6402e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 0.78% green and 88.63% blue; printed in CMYK it uses 55.75% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 266.25°, with 98.25% saturation and 44.71% 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.93:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.57.

Description generated from the measured properties of this color.

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

Readable text 7.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #515151 ≈ 0.003% of males
Achromatomaly #593fa0 ≈ 0.001% of males
Protanopia #0055e7 ≈ 1.01% of males
Deuteranopia #004cdf ≈ 1.27% of males
Tritanopia #2b5a84 ≈ 0.0001% of males
Protanomaly #0042e5 ≈ 1.08% of males
Deuteranomaly #003be0 ≈ 4.63% of males
Tritanomaly #4846b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6402e2 {
  color: #6402e2;
}
Background
.bg-6402e2 {
  background-color: #6402e2;
  color: #ffffff;
}
Border
.border-6402e2 {
  border: 2px solid #6402e2;
}
CSS variables
:root {
  --color-primary: #6402e2;
  --color-primary-rgb: 100 2 226;
  --color-primary-hsl: 266 98% 45%;
}
Gradient
.gradient-6402e2 {
  background: linear-gradient(135deg, #6402e2, #d402e2);
}
Colored shadow
.shadow-6402e2 {
  box-shadow: 0 8px 24px rgb(100 2 226 / 0.35);
}

Han Purple
#6402e2  rgb(100, 2, 226)  hsl(266, 98%, 45%)  Han Purple
#80e202  rgb(128, 226, 2)  hsl(86, 98%, 45%)  Lawn Green
#e26402  rgb(226, 100, 2)  hsl(26, 98%, 45%)  Chocolate
#02e264  rgb(2, 226, 100)  hsl(146, 98%, 45%)  Malachite