#D40BDD

#d40bdd ≈ Electric Purple

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

#d40bdd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 4.31% green and 86.67% blue; printed in CMYK it uses 4.07% cyan, 95.02% magenta, 0% yellow and 13.33% black. Its hue angle is 297.43°, with 90.52% saturation and 45.49% 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.2.

Description generated from the measured properties of this color.

Conversions of #d40bdd 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.1946

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 #a660ab ≈ 0.001% of males
Protanopia #006ce2 ≈ 1.01% of males
Deuteranopia #5081d9 ≈ 1.27% of males
Tritanopia #d94483 ≈ 0.0001% of males
Protanomaly #8655e0 ≈ 1.08% of males
Deuteranomaly #9766db ≈ 4.63% of males
Tritanomaly #d736ae ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40bdd {
  color: #d40bdd;
}
Background
.bg-d40bdd {
  background-color: #d40bdd;
  color: #000000;
}
Border
.border-d40bdd {
  border: 2px solid #d40bdd;
}
CSS variables
:root {
  --color-primary: #d40bdd;
  --color-primary-rgb: 212 11 221;
  --color-primary-hsl: 297 91% 45%;
}
Gradient
.gradient-d40bdd {
  background: linear-gradient(135deg, #d40bdd, #dd0b7d);
}
Colored shadow
.shadow-d40bdd {
  box-shadow: 0 8px 24px rgb(212 11 221 / 0.35);
}

Electric Purple
#d40bdd  rgb(212, 11, 221)  hsl(297, 91%, 45%)  Electric Purple
#14dd0b  rgb(20, 221, 11)  hsl(117, 91%, 45%)  Lime Green
#ddd40b  rgb(221, 212, 11)  hsl(57, 91%, 45%)  Citrine
#0bddd4  rgb(11, 221, 212)  hsl(177, 91%, 45%)  Bright Turquoise