#D012EC

#d012ec ≈ Electric Purple

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

#d012ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 7.06% green and 92.55% blue; printed in CMYK it uses 11.86% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 292.29°, 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. Black text on this color reaches a contrast ratio of 4.98:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.25.

Description generated from the measured properties of this color.

Conversions of #d012ec 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.199

Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.98:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a462b4 ≈ 0.001% of males
Protanopia #006ff1 ≈ 1.01% of males
Deuteranopia #3c81e8 ≈ 1.27% of males
Tritanopia #d2508c ≈ 0.0001% of males
Protanomaly #7f58ef ≈ 1.08% of males
Deuteranomaly #9067ea ≈ 4.63% of males
Tritanomaly #d13fba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d012ec  rgb(208, 18, 236)  hsl(292, 86%, 50%)  Electric Purple
#2eec12  rgb(46, 236, 18)  hsl(112, 86%, 50%)  Lime
#ecd012  rgb(236, 208, 18)  hsl(52, 86%, 50%)  Citrine
#12ecd0  rgb(18, 236, 208)  hsl(172, 86%, 50%)  Turquoise