#DC12EA

#dc12ea ≈ Electric Purple

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

#dc12ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 91.76% blue; printed in CMYK it uses 5.98% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 296.11°, with 85.71% saturation and 49.41% 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 5.32:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.47.

Description generated from the measured properties of this color.

Conversions of #dc12ea 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.2159

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ad66b4 ≈ 0.001% of males
Protanopia #0072ef ≈ 1.01% of males
Deuteranopia #5087e6 ≈ 1.27% of males
Tritanopia #e14b8b ≈ 0.0001% of males
Protanomaly #8a5aed ≈ 1.08% of males
Deuteranomaly #9c6ce7 ≈ 4.63% of males
Tritanomaly #df3cb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc12ea {
  color: #dc12ea;
}
Background
.bg-dc12ea {
  background-color: #dc12ea;
  color: #000000;
}
Border
.border-dc12ea {
  border: 2px solid #dc12ea;
}
CSS variables
:root {
  --color-primary: #dc12ea;
  --color-primary-rgb: 220 18 234;
  --color-primary-hsl: 296 86% 49%;
}
Gradient
.gradient-dc12ea {
  background: linear-gradient(135deg, #dc12ea, #ea128c);
}
Colored shadow
.shadow-dc12ea {
  box-shadow: 0 8px 24px rgb(220 18 234 / 0.35);
}

Electric Purple
#dc12ea  rgb(220, 18, 234)  hsl(296, 86%, 49%)  Electric Purple
#20ea12  rgb(32, 234, 18)  hsl(116, 86%, 49%)  Lime
#eadc12  rgb(234, 220, 18)  hsl(56, 86%, 49%)  Dandelion
#12eadc  rgb(18, 234, 220)  hsl(176, 86%, 49%)  Bright Turquoise