#C012EC

#c012ec ≈ Electric Purple

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

#c012ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 7.06% green and 92.55% blue; printed in CMYK it uses 18.64% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 287.89°, with 85.83% saturation and 49.8% 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.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.38.

Description generated from the measured properties of this color.

Conversions of #c012ec 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.177

Readable text 4.63:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #995db1 ≈ 0.001% of males
Protanopia #006bf1 ≈ 1.01% of males
Deuteranopia #1579e8 ≈ 1.27% of males
Tritanopia #bd548c ≈ 0.0001% of males
Protanomaly #6f55ef ≈ 1.08% of males
Deuteranomaly #8060ea ≈ 4.63% of males
Tritanomaly #be42ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c012ec {
  color: #c012ec;
}
Background
.bg-c012ec {
  background-color: #c012ec;
  color: #ffffff;
}
Border
.border-c012ec {
  border: 2px solid #c012ec;
}
CSS variables
:root {
  --color-primary: #c012ec;
  --color-primary-rgb: 192 18 236;
  --color-primary-hsl: 288 86% 50%;
}
Gradient
.gradient-c012ec {
  background: linear-gradient(135deg, #c012ec, #ec12ab);
}
Colored shadow
.shadow-c012ec {
  box-shadow: 0 8px 24px rgb(192 18 236 / 0.35);
}

Electric Purple
#c012ec  rgb(192, 18, 236)  hsl(288, 86%, 50%)  Electric Purple
#3eec12  rgb(62, 236, 18)  hsl(108, 86%, 50%)  Neon Green
#ecc012  rgb(236, 192, 18)  hsl(48, 86%, 50%)  Saffron
#12ecc0  rgb(18, 236, 192)  hsl(168, 86%, 50%)  Aquamarine