#D40DDC

#d40ddc ≈ Electric Purple

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

#d40ddc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.1% green and 86.27% blue; printed in CMYK it uses 3.64% cyan, 94.09% magenta, 0% yellow and 13.73% black. Its hue angle is 297.68°, with 88.84% saturation and 45.69% 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 4.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.33.

Description generated from the measured properties of this color.

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

Readable text 4.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #a661aa ≈ 0.001% of males
Protanopia #006ce1 ≈ 1.01% of males
Deuteranopia #5181d8 ≈ 1.27% of males
Tritanopia #da4482 ≈ 0.0001% of males
Protanomaly #8655df ≈ 1.08% of males
Deuteranomaly #9866da ≈ 4.63% of males
Tritanomaly #d736ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40ddc {
  color: #d40ddc;
}
Background
.bg-d40ddc {
  background-color: #d40ddc;
  color: #000000;
}
Border
.border-d40ddc {
  border: 2px solid #d40ddc;
}
CSS variables
:root {
  --color-primary: #d40ddc;
  --color-primary-rgb: 212 13 220;
  --color-primary-hsl: 298 89% 46%;
}
Gradient
.gradient-d40ddc {
  background: linear-gradient(135deg, #d40ddc, #dc0d7d);
}
Colored shadow
.shadow-d40ddc {
  box-shadow: 0 8px 24px rgb(212 13 220 / 0.35);
}

Electric Purple
#d40ddc  rgb(212, 13, 220)  hsl(298, 89%, 46%)  Electric Purple
#15dc0d  rgb(21, 220, 13)  hsl(118, 89%, 46%)  Lime Green
#dcd40d  rgb(220, 212, 13)  hsl(58, 89%, 46%)  Citrine
#0ddcd4  rgb(13, 220, 212)  hsl(178, 89%, 46%)  Bright Turquoise