#D407DB

#d407db ≈ Electric Purple

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

#d407db 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 85.88% blue; printed in CMYK it uses 3.2% cyan, 96.8% magenta, 0% yellow and 14.12% black. Its hue angle is 298.02°, with 93.81% saturation and 44.31% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.39.

Description generated from the measured properties of this color.

Conversions of #d407db 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.1926

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a660a9 ≈ 0.001% of males
Protanopia #006be0 ≈ 1.01% of males
Deuteranopia #5181d7 ≈ 1.27% of males
Tritanopia #da4281 ≈ 0.0001% of males
Protanomaly #8654de ≈ 1.08% of males
Deuteranomaly #9866d9 ≈ 4.63% of males
Tritanomaly #d834ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d407db  rgb(212, 7, 219)  hsl(298, 94%, 44%)  Electric Purple
#0edb07  rgb(14, 219, 7)  hsl(118, 94%, 44%)  Lime Green
#dbd407  rgb(219, 212, 7)  hsl(58, 94%, 44%)  Citrine
#07dbd4  rgb(7, 219, 212)  hsl(178, 94%, 44%)  Bright Turquoise