#C812E2

#c812e2 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#c812e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 7.06% green and 88.63% blue; printed in CMYK it uses 11.5% cyan, 92.04% magenta, 0% yellow and 11.37% black. Its hue angle is 292.5°, with 85.25% saturation and 47.84% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.22.

Description generated from the measured properties of this color.

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

Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9e5eac ≈ 0.001% of males
Protanopia #006be7 ≈ 1.01% of males
Deuteranopia #3b7cde ≈ 1.27% of males
Tritanopia #ca4c86 ≈ 0.0001% of males
Protanomaly #7a55e5 ≈ 1.08% of males
Deuteranomaly #8b63e0 ≈ 4.63% of males
Tritanomaly #c93db2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#c812e2  rgb(200, 18, 226)  hsl(293, 85%, 48%)  Electric Purple
#2ce212  rgb(44, 226, 18)  hsl(113, 85%, 48%)  Lime Green
#e2c812  rgb(226, 200, 18)  hsl(53, 85%, 48%)  Citrine
#12e2c8  rgb(18, 226, 200)  hsl(173, 85%, 48%)  Turquoise