#C812D4

#c812d4 ≈ Electric Purple

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

#c812d4 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 83.14% blue; printed in CMYK it uses 5.66% cyan, 91.51% magenta, 0% yellow and 16.86% black. Its hue angle is 296.29°, with 84.35% saturation and 45.1% 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. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.09.

Description generated from the measured properties of this color.

Conversions of #c812d4 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.1747

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9d5ca3 ≈ 0.001% of males
Protanopia #0067d8 ≈ 1.01% of males
Deuteranopia #497bd0 ≈ 1.27% of males
Tritanopia #cc447e ≈ 0.0001% of males
Protanomaly #7d52d7 ≈ 1.08% of males
Deuteranomaly #8e61d2 ≈ 4.63% of males
Tritanomaly #cb36a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c812d4 {
  color: #c812d4;
}
Background
.bg-c812d4 {
  background-color: #c812d4;
  color: #ffffff;
}
Border
.border-c812d4 {
  border: 2px solid #c812d4;
}
CSS variables
:root {
  --color-primary: #c812d4;
  --color-primary-rgb: 200 18 212;
  --color-primary-hsl: 296 84% 45%;
}
Gradient
.gradient-c812d4 {
  background: linear-gradient(135deg, #c812d4, #d4127f);
}
Colored shadow
.shadow-c812d4 {
  box-shadow: 0 8px 24px rgb(200 18 212 / 0.35);
}

Electric Purple
#c812d4  rgb(200, 18, 212)  hsl(296, 84%, 45%)  Electric Purple
#1ed412  rgb(30, 212, 18)  hsl(116, 84%, 45%)  Lime Green
#d4c812  rgb(212, 200, 18)  hsl(56, 84%, 45%)  Citrine
#12d4c8  rgb(18, 212, 200)  hsl(176, 84%, 45%)  Medium Turquoise