#D312EA

#d312ea ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #d312ea 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.2022

Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a663b3 ≈ 0.001% of males
Protanopia #0070ef ≈ 1.01% of males
Deuteranopia #4383e6 ≈ 1.27% of males
Tritanopia #d64e8b ≈ 0.0001% of males
Protanomaly #8259ed ≈ 1.08% of males
Deuteranomaly #9468e7 ≈ 4.63% of males
Tritanomaly #d53eb9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d312ea  rgb(211, 18, 234)  hsl(294, 86%, 49%)  Electric Purple
#29ea12  rgb(41, 234, 18)  hsl(114, 86%, 49%)  Lime
#ead312  rgb(234, 211, 18)  hsl(54, 86%, 49%)  Citrine
#12ead3  rgb(18, 234, 211)  hsl(174, 86%, 49%)  Turquoise