#D40DFD

#d40dfd ≈ Electric Purple

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

#d40dfd 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 99.22% blue; printed in CMYK it uses 16.21% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 289.75°, with 98.36% saturation and 52.16% 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.28:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #d40dfd 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.2138

Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a865bf ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #2885f9 ≈ 1.27% of males
Tritanopia #d35896 ≈ 0.0001% of males
Protanomaly #7d5cff ≈ 1.08% of males
Deuteranomaly #8f69fa ≈ 4.63% of males
Tritanomaly #d345c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40dfd {
  color: #d40dfd;
}
Background
.bg-d40dfd {
  background-color: #d40dfd;
  color: #000000;
}
Border
.border-d40dfd {
  border: 2px solid #d40dfd;
}
CSS variables
:root {
  --color-primary: #d40dfd;
  --color-primary-rgb: 212 13 253;
  --color-primary-hsl: 290 98% 52%;
}
Gradient
.gradient-d40dfd {
  background: linear-gradient(135deg, #d40dfd, #fd0dae);
}
Colored shadow
.shadow-d40dfd {
  box-shadow: 0 8px 24px rgb(212 13 253 / 0.35);
}

Electric Purple
#d40dfd  rgb(212, 13, 253)  hsl(290, 98%, 52%)  Electric Purple
#36fd0d  rgb(54, 253, 13)  hsl(110, 98%, 52%)  Neon Green
#fdd40d  rgb(253, 212, 13)  hsl(50, 98%, 52%)  Cyber Yellow
#0dfdd4  rgb(13, 253, 212)  hsl(170, 98%, 52%)  Aquamarine