#D40FFB

#d40ffb ≈ Electric Purple

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

#d40ffb 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 98.43% blue; printed in CMYK it uses 15.54% cyan, 94.02% magenta, 0% yellow and 1.57% black. Its hue angle is 290.08°, with 96.72% 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.26:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.25.

Description generated from the measured properties of this color.

Conversions of #d40ffb 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.213

Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.26:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a865be ≈ 0.001% of males
Protanopia #0074ff ≈ 1.01% of males
Deuteranopia #2d85f7 ≈ 1.27% of males
Tritanopia #d35795 ≈ 0.0001% of males
Protanomaly #7e5cfe ≈ 1.08% of males
Deuteranomaly #9069f8 ≈ 4.63% of males
Tritanomaly #d445c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d40ffb  rgb(212, 15, 251)  hsl(290, 97%, 52%)  Electric Purple
#36fb0f  rgb(54, 251, 15)  hsl(110, 97%, 52%)  Neon Green
#fbd40f  rgb(251, 212, 15)  hsl(50, 97%, 52%)  Gold
#0ffbd4  rgb(15, 251, 212)  hsl(170, 97%, 52%)  Aquamarine