#642AE2

#642ae2 ≈ Han Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#642ae2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 16.47% green and 88.63% blue; printed in CMYK it uses 55.75% cyan, 81.42% magenta, 0% yellow and 11.37% black. Its hue angle is 258.91°, with 76.03% saturation and 52.55% 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 brand accents. White text on this color reaches a contrast ratio of 7.07:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.25.

Description generated from the measured properties of this color.

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

Readable text 7.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #585858 ≈ 0.003% of males
Achromatomaly #5d4aa2 ≈ 0.001% of males
Protanopia #005de7 ≈ 1.01% of males
Deuteranopia #0053df ≈ 1.27% of males
Tritanopia #296388 ≈ 0.0001% of males
Protanomaly #004de5 ≈ 1.08% of males
Deuteranomaly #0046e0 ≈ 4.63% of males
Tritanomaly #4852b3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642ae2 {
  color: #642ae2;
}
Background
.bg-642ae2 {
  background-color: #642ae2;
  color: #ffffff;
}
Border
.border-642ae2 {
  border: 2px solid #642ae2;
}
CSS variables
:root {
  --color-primary: #642ae2;
  --color-primary-rgb: 100 42 226;
  --color-primary-hsl: 259 76% 53%;
}
Gradient
.gradient-642ae2 {
  background: linear-gradient(135deg, #642ae2, #c02ae2);
}
Colored shadow
.shadow-642ae2 {
  box-shadow: 0 8px 24px rgb(100 42 226 / 0.35);
}

Han Purple
#642ae2  rgb(100, 42, 226)  hsl(259, 76%, 53%)  Han Purple
#a8e22a  rgb(168, 226, 42)  hsl(79, 76%, 53%)  Inchworm
#e2642a  rgb(226, 100, 42)  hsl(19, 76%, 53%)  Flame
#2ae264  rgb(42, 226, 100)  hsl(139, 76%, 53%)  Malachite