#D128EA

#d128ea ≈ Electric Purple

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

#d128ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 15.69% green and 91.76% blue; printed in CMYK it uses 10.68% cyan, 82.91% magenta, 0% yellow and 8.24% black. Its hue angle is 292.27°, with 82.2% saturation and 53.73% 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.2:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.34.

Description generated from the measured properties of this color.

Conversions of #d128ea into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2101

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a667b4 ≈ 0.001% of males
Protanopia #0073ef ≈ 1.01% of males
Deuteranopia #4884e6 ≈ 1.27% of males
Tritanopia #d3558d ≈ 0.0001% of males
Protanomaly #835eed ≈ 1.08% of males
Deuteranomaly #946be8 ≈ 4.63% of males
Tritanomaly #d247ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d128ea {
  color: #d128ea;
}
Background
.bg-d128ea {
  background-color: #d128ea;
  color: #000000;
}
Border
.border-d128ea {
  border: 2px solid #d128ea;
}
CSS variables
:root {
  --color-primary: #d128ea;
  --color-primary-rgb: 209 40 234;
  --color-primary-hsl: 292 82% 54%;
}
Gradient
.gradient-d128ea {
  background: linear-gradient(135deg, #d128ea, #ea28a2);
}
Colored shadow
.shadow-d128ea {
  box-shadow: 0 8px 24px rgb(209 40 234 / 0.35);
}

Electric Purple
#d128ea  rgb(209, 40, 234)  hsl(292, 82%, 54%)  Electric Purple
#41ea28  rgb(65, 234, 40)  hsl(112, 82%, 54%)  Neon Green
#ead128  rgb(234, 209, 40)  hsl(52, 82%, 54%)  Citrine
#28ead1  rgb(40, 234, 209)  hsl(172, 82%, 54%)  Turquoise