#6812E2

#6812e2 ≈ Han Purple

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

#6812e2 is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 40.78% red, 7.06% green and 88.63% blue; printed in CMYK it uses 53.98% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 264.81°, with 85.25% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 7.57:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.36.

Description generated from the measured properties of this color.

Conversions of #6812e2 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.0887

Readable text 7.57:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #545454 ≈ 0.003% of males
Achromatomaly #5d43a1 ≈ 0.001% of males
Protanopia #0057e7 ≈ 1.01% of males
Deuteranopia #004fdf ≈ 1.27% of males
Tritanopia #365c85 ≈ 0.0001% of males
Protanomaly #0045e5 ≈ 1.08% of males
Deuteranomaly #003fe0 ≈ 4.63% of males
Tritanomaly #4f49b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-6812e2 {
  color: #6812e2;
}
Background
.bg-6812e2 {
  background-color: #6812e2;
  color: #ffffff;
}
Border
.border-6812e2 {
  border: 2px solid #6812e2;
}
CSS variables
:root {
  --color-primary: #6812e2;
  --color-primary-rgb: 104 18 226;
  --color-primary-hsl: 265 85% 48%;
}
Gradient
.gradient-6812e2 {
  background: linear-gradient(135deg, #6812e2, #d012e2);
}
Colored shadow
.shadow-6812e2 {
  box-shadow: 0 8px 24px rgb(104 18 226 / 0.35);
}

Han Purple
#6812e2  rgb(104, 18, 226)  hsl(265, 85%, 48%)  Han Purple
#8ce212  rgb(140, 226, 18)  hsl(85, 85%, 48%)  Inchworm
#e26812  rgb(226, 104, 18)  hsl(25, 85%, 48%)  Chocolate
#12e268  rgb(18, 226, 104)  hsl(145, 85%, 48%)  Malachite