#D412EF

#d412ef ≈ Electric Purple

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

#d412ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 7.06% green and 93.73% blue; printed in CMYK it uses 11.3% cyan, 92.47% magenta, 0% yellow and 6.27% black. Its hue angle is 292.67°, with 87.35% saturation and 50.39% 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.13:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.74.

Description generated from the measured properties of this color.

Conversions of #d412ef 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.2066

Readable text 4.09:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a764b6 ≈ 0.001% of males
Protanopia #0071f4 ≈ 1.01% of males
Deuteranopia #3f84eb ≈ 1.27% of males
Tritanopia #d6518e ≈ 0.0001% of males
Protanomaly #815af2 ≈ 1.08% of males
Deuteranomaly #9369ec ≈ 4.63% of males
Tritanomaly #d540bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d412ef {
  color: #d412ef;
}
Background
.bg-d412ef {
  background-color: #d412ef;
  color: #000000;
}
Border
.border-d412ef {
  border: 2px solid #d412ef;
}
CSS variables
:root {
  --color-primary: #d412ef;
  --color-primary-rgb: 212 18 239;
  --color-primary-hsl: 293 87% 50%;
}
Gradient
.gradient-d412ef {
  background: linear-gradient(135deg, #d412ef, #ef129b);
}
Colored shadow
.shadow-d412ef {
  box-shadow: 0 8px 24px rgb(212 18 239 / 0.35);
}

Electric Purple
#d412ef  rgb(212, 18, 239)  hsl(293, 87%, 50%)  Electric Purple
#2def12  rgb(45, 239, 18)  hsl(113, 87%, 50%)  Lime
#efd412  rgb(239, 212, 18)  hsl(53, 87%, 50%)  Citrine
#12efd4  rgb(18, 239, 212)  hsl(173, 87%, 50%)  Turquoise