#DC12EB

#dc12eb ≈ Electric Purple

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

#dc12eb 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 92.16% blue; printed in CMYK it uses 6.38% cyan, 92.34% magenta, 0% yellow and 7.84% black. Its hue angle is 295.85°, with 85.77% saturation and 49.61% 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.33:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.41.

Description generated from the measured properties of this color.

Conversions of #dc12eb 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.2165

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ad66b5 ≈ 0.001% of males
Protanopia #0072f0 ≈ 1.01% of males
Deuteranopia #4f87e7 ≈ 1.27% of males
Tritanopia #e14c8b ≈ 0.0001% of males
Protanomaly #8a5bee ≈ 1.08% of males
Deuteranomaly #9c6ce8 ≈ 4.63% of males
Tritanomaly #df3cba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc12eb  rgb(220, 18, 235)  hsl(296, 86%, 50%)  Electric Purple
#21eb12  rgb(33, 235, 18)  hsl(116, 86%, 50%)  Lime
#ebdc12  rgb(235, 220, 18)  hsl(56, 86%, 50%)  Dandelion
#12ebdc  rgb(18, 235, 220)  hsl(176, 86%, 50%)  Bright Turquoise