#642CC8

#642cc8 ≈ Han Purple

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

#642cc8 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 39.22% red, 17.25% green and 78.43% blue; printed in CMYK it uses 50% cyan, 78% magenta, 0% yellow and 21.57% black. Its hue angle is 261.54°, with 63.93% saturation and 47.84% 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.67:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 5.9.

Description generated from the measured properties of this color.

Conversions of #642cc8 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.0868

Readable text 7.67:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #535353 ≈ 0.003% of males
Achromatomaly #5a4791 ≈ 0.001% of males
Protanopia #0055cc ≈ 1.01% of males
Deuteranopia #0050c5 ≈ 1.27% of males
Tritanopia #42587a ≈ 0.0001% of males
Protanomaly #1548cb ≈ 1.08% of males
Deuteranomaly #1e44c6 ≈ 4.63% of males
Tritanomaly #524a9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-642cc8 {
  color: #642cc8;
}
Background
.bg-642cc8 {
  background-color: #642cc8;
  color: #ffffff;
}
Border
.border-642cc8 {
  border: 2px solid #642cc8;
}
CSS variables
:root {
  --color-primary: #642cc8;
  --color-primary-rgb: 100 44 200;
  --color-primary-hsl: 262 64% 48%;
}
Gradient
.gradient-642cc8 {
  background: linear-gradient(135deg, #642cc8, #b22cc8);
}
Colored shadow
.shadow-642cc8 {
  box-shadow: 0 8px 24px rgb(100 44 200 / 0.35);
}

Han Purple
#642cc8  rgb(100, 44, 200)  hsl(262, 64%, 48%)  Han Purple
#90c82c  rgb(144, 200, 44)  hsl(82, 64%, 48%)  Yellow Green
#c8642c  rgb(200, 100, 44)  hsl(22, 64%, 48%)  Chocolate
#2cc864  rgb(44, 200, 100)  hsl(142, 64%, 48%)  Emerald