#D407E2

#d407e2 ≈ Electric Purple

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

#d407e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 2.75% green and 88.63% blue; printed in CMYK it uses 6.19% cyan, 96.9% magenta, 0% yellow and 11.37% black. Its hue angle is 296.16°, with 93.99% saturation and 45.69% 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.93:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.63.

Description generated from the measured properties of this color.

Conversions of #d407e2 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.1964

Readable text 4.26:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.93:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a661ae ≈ 0.001% of males
Protanopia #006de7 ≈ 1.01% of males
Deuteranopia #4b82de ≈ 1.27% of males
Tritanopia #d94785 ≈ 0.0001% of males
Protanomaly #8456e5 ≈ 1.08% of males
Deuteranomaly #9666e0 ≈ 4.63% of males
Tritanomaly #d737b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d407e2 {
  color: #d407e2;
}
Background
.bg-d407e2 {
  background-color: #d407e2;
  color: #000000;
}
Border
.border-d407e2 {
  border: 2px solid #d407e2;
}
CSS variables
:root {
  --color-primary: #d407e2;
  --color-primary-rgb: 212 7 226;
  --color-primary-hsl: 296 94% 46%;
}
Gradient
.gradient-d407e2 {
  background: linear-gradient(135deg, #d407e2, #e20783);
}
Colored shadow
.shadow-d407e2 {
  box-shadow: 0 8px 24px rgb(212 7 226 / 0.35);
}

Electric Purple
#d407e2  rgb(212, 7, 226)  hsl(296, 94%, 46%)  Electric Purple
#15e207  rgb(21, 226, 7)  hsl(116, 94%, 46%)  Lime Green
#e2d407  rgb(226, 212, 7)  hsl(56, 94%, 46%)  Citrine
#07e2d4  rgb(7, 226, 212)  hsl(176, 94%, 46%)  Turquoise