#642DED

#642ded ≈ Han Purple

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

#642ded is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 39.22% red, 17.65% green and 92.94% blue; printed in CMYK it uses 57.81% cyan, 81.01% magenta, 0% yellow and 7.06% black. Its hue angle is 257.19°, with 84.21% saturation and 55.29% 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.69:1 (WCAG AA). The closest named color is Han Purple (#5218fa), ΔE 3.1.

Description generated from the measured properties of this color.

Conversions of #642ded 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.107

Readable text 6.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5c5c5c ≈ 0.003% of males
Achromatomaly #5f4daa ≈ 0.001% of males
Protanopia #0061f2 ≈ 1.01% of males
Deuteranopia #0056ea ≈ 1.27% of males
Tritanopia #13688f ≈ 0.0001% of males
Protanomaly #0051f0 ≈ 1.08% of males
Deuteranomaly #0049eb ≈ 4.63% of males
Tritanomaly #4256bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ded {
  color: #642ded;
}
Background
.bg-642ded {
  background-color: #642ded;
  color: #ffffff;
}
Border
.border-642ded {
  border: 2px solid #642ded;
}
CSS variables
:root {
  --color-primary: #642ded;
  --color-primary-rgb: 100 45 237;
  --color-primary-hsl: 257 84% 55%;
}
Gradient
.gradient-642ded {
  background: linear-gradient(135deg, #642ded, #c42ded);
}
Colored shadow
.shadow-642ded {
  box-shadow: 0 8px 24px rgb(100 45 237 / 0.35);
}

Han Purple
#642ded  rgb(100, 45, 237)  hsl(257, 84%, 55%)  Han Purple
#b6ed2d  rgb(182, 237, 45)  hsl(77, 84%, 55%)  Spring Bud
#ed642d  rgb(237, 100, 45)  hsl(17, 84%, 55%)  Flame
#2ded64  rgb(45, 237, 100)  hsl(137, 84%, 55%)  Spring Green