#D40FF5

#d40ff5 ≈ Electric Purple

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

#d40ff5 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.88% green and 96.08% blue; printed in CMYK it uses 13.47% cyan, 93.88% magenta, 0% yellow and 3.92% black. Its hue angle is 291.39°, with 92% saturation and 50.98% 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.19:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.39.

Description generated from the measured properties of this color.

Conversions of #d40ff5 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.2093

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a764ba ≈ 0.001% of males
Protanopia #0072fa ≈ 1.01% of males
Deuteranopia #3784f1 ≈ 1.27% of males
Tritanopia #d55491 ≈ 0.0001% of males
Protanomaly #805bf8 ≈ 1.08% of males
Deuteranomaly #9269f2 ≈ 4.63% of males
Tritanomaly #d442c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40ff5 {
  color: #d40ff5;
}
Background
.bg-d40ff5 {
  background-color: #d40ff5;
  color: #000000;
}
Border
.border-d40ff5 {
  border: 2px solid #d40ff5;
}
CSS variables
:root {
  --color-primary: #d40ff5;
  --color-primary-rgb: 212 15 245;
  --color-primary-hsl: 291 92% 51%;
}
Gradient
.gradient-d40ff5 {
  background: linear-gradient(135deg, #d40ff5, #f50fa3);
}
Colored shadow
.shadow-d40ff5 {
  box-shadow: 0 8px 24px rgb(212 15 245 / 0.35);
}

Electric Purple
#d40ff5  rgb(212, 15, 245)  hsl(291, 92%, 51%)  Electric Purple
#30f50f  rgb(48, 245, 15)  hsl(111, 92%, 51%)  Lime
#f5d40f  rgb(245, 212, 15)  hsl(51, 92%, 51%)  Gold
#0ff5d4  rgb(15, 245, 212)  hsl(171, 92%, 51%)  Turquoise Blue