#6402D8

#6402d8 ≈ Han Purple

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

#6402d8 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 84.71% blue; printed in CMYK it uses 53.7% cyan, 99.07% magenta, 0% yellow and 15.29% black. Its hue angle is 267.48°, with 98.17% saturation and 42.75% 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 8.26:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 4.7.

Description generated from the measured properties of this color.

Conversions of #6402d8 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.0771

Readable text 8.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #4e4e4e ≈ 0.003% of males
Achromatomaly #583d9a ≈ 0.001% of males
Protanopia #0051dd ≈ 1.01% of males
Deuteranopia #004ad5 ≈ 1.27% of males
Tritanopia #36557e ≈ 0.0001% of males
Protanomaly #003fdb ≈ 1.08% of males
Deuteranomaly #0039d6 ≈ 4.63% of males
Tritanomaly #4d43aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Han Purple
#6402d8  rgb(100, 2, 216)  hsl(267, 98%, 43%)  Han Purple
#76d802  rgb(118, 216, 2)  hsl(87, 98%, 43%)  Yellow Green
#d86402  rgb(216, 100, 2)  hsl(27, 98%, 43%)  Chocolate
#02d864  rgb(2, 216, 100)  hsl(147, 98%, 43%)  Malachite