#D40CE7

#d40ce7 ≈ Electric Purple

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

#d40ce7 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.71% green and 90.59% blue; printed in CMYK it uses 8.23% cyan, 94.81% magenta, 0% yellow and 9.41% black. Its hue angle is 294.79°, with 90.12% saturation and 47.65% 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.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.22.

Description generated from the measured properties of this color.

Conversions of #d40ce7 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.2003

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a662b1 ≈ 0.001% of males
Protanopia #006fec ≈ 1.01% of males
Deuteranopia #4782e3 ≈ 1.27% of males
Tritanopia #d84b89 ≈ 0.0001% of males
Protanomaly #8357ea ≈ 1.08% of males
Deuteranomaly #9567e4 ≈ 4.63% of males
Tritanomaly #d63bb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d40ce7 {
  color: #d40ce7;
}
Background
.bg-d40ce7 {
  background-color: #d40ce7;
  color: #000000;
}
Border
.border-d40ce7 {
  border: 2px solid #d40ce7;
}
CSS variables
:root {
  --color-primary: #d40ce7;
  --color-primary-rgb: 212 12 231;
  --color-primary-hsl: 295 90% 48%;
}
Gradient
.gradient-d40ce7 {
  background: linear-gradient(135deg, #d40ce7, #e70c8d);
}
Colored shadow
.shadow-d40ce7 {
  box-shadow: 0 8px 24px rgb(212 12 231 / 0.35);
}

Electric Purple
#d40ce7  rgb(212, 12, 231)  hsl(295, 90%, 48%)  Electric Purple
#1fe70c  rgb(31, 231, 12)  hsl(115, 90%, 48%)  Lime
#e7d40c  rgb(231, 212, 12)  hsl(55, 90%, 48%)  Citrine
#0ce7d4  rgb(12, 231, 212)  hsl(175, 90%, 48%)  Turquoise