#CC12ED

#cc12ed ≈ Electric Purple

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

#cc12ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 7.06% green and 92.94% blue; printed in CMYK it uses 13.92% cyan, 92.41% magenta, 0% yellow and 7.06% black. Its hue angle is 290.96°, with 85.88% saturation and 50% 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.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.54.

Description generated from the measured properties of this color.

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

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a161b4 ≈ 0.001% of males
Protanopia #006ff2 ≈ 1.01% of males
Deuteranopia #347fe9 ≈ 1.27% of males
Tritanopia #cc518d ≈ 0.0001% of males
Protanomaly #7b58f0 ≈ 1.08% of males
Deuteranomaly #8c65eb ≈ 4.63% of males
Tritanomaly #cc41bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc12ed {
  color: #cc12ed;
}
Background
.bg-cc12ed {
  background-color: #cc12ed;
  color: #000000;
}
Border
.border-cc12ed {
  border: 2px solid #cc12ed;
}
CSS variables
:root {
  --color-primary: #cc12ed;
  --color-primary-rgb: 204 18 237;
  --color-primary-hsl: 291 86% 50%;
}
Gradient
.gradient-cc12ed {
  background: linear-gradient(135deg, #cc12ed, #ed12a0);
}
Colored shadow
.shadow-cc12ed {
  box-shadow: 0 8px 24px rgb(204 18 237 / 0.35);
}

Electric Purple
#cc12ed  rgb(204, 18, 237)  hsl(291, 86%, 50%)  Electric Purple
#33ed12  rgb(51, 237, 18)  hsl(111, 86%, 50%)  Lime
#edcc12  rgb(237, 204, 18)  hsl(51, 86%, 50%)  Jonquil
#12edcc  rgb(18, 237, 204)  hsl(171, 86%, 50%)  Turquoise