#D704EC

#d704ec ≈ Electric Purple

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

#d704ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 1.57% green and 92.55% blue; printed in CMYK it uses 8.9% cyan, 98.31% magenta, 0% yellow and 7.45% black. Its hue angle is 294.57°, with 96.67% saturation and 47.06% 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.12:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.23.

Description generated from the measured properties of this color.

Conversions of #d704ec 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.2059

Readable text 4.1:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.12:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a963b4 ≈ 0.001% of males
Protanopia #0070f1 ≈ 1.01% of males
Deuteranopia #4584e8 ≈ 1.27% of males
Tritanopia #da4c8b ≈ 0.0001% of males
Protanomaly #8458ef ≈ 1.08% of males
Deuteranomaly #9768e9 ≈ 4.63% of males
Tritanomaly #d93bba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d704ec {
  color: #d704ec;
}
Background
.bg-d704ec {
  background-color: #d704ec;
  color: #000000;
}
Border
.border-d704ec {
  border: 2px solid #d704ec;
}
CSS variables
:root {
  --color-primary: #d704ec;
  --color-primary-rgb: 215 4 236;
  --color-primary-hsl: 295 97% 47%;
}
Gradient
.gradient-d704ec {
  background: linear-gradient(135deg, #d704ec, #ec048d);
}
Colored shadow
.shadow-d704ec {
  box-shadow: 0 8px 24px rgb(215 4 236 / 0.35);
}

Electric Purple
#d704ec  rgb(215, 4, 236)  hsl(295, 97%, 47%)  Electric Purple
#19ec04  rgb(25, 236, 4)  hsl(115, 97%, 47%)  Lime
#ecd704  rgb(236, 215, 4)  hsl(55, 97%, 47%)  Citrine
#04ecd7  rgb(4, 236, 215)  hsl(175, 97%, 47%)  Turquoise