#D520EC

#d520ec ≈ Electric Purple

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

#d520ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 12.55% green and 92.55% blue; printed in CMYK it uses 9.75% cyan, 86.44% magenta, 0% yellow and 7.45% black. Its hue angle is 293.24°, with 84.3% saturation and 52.55% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.53.

Description generated from the measured properties of this color.

Conversions of #d520ec into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2124

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a866b5 ≈ 0.001% of males
Protanopia #0073f1 ≈ 1.01% of males
Deuteranopia #4885e8 ≈ 1.27% of males
Tritanopia #d8528d ≈ 0.0001% of males
Protanomaly #855cef ≈ 1.08% of males
Deuteranomaly #966be9 ≈ 4.63% of males
Tritanomaly #d743bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d520ec {
  color: #d520ec;
}
Background
.bg-d520ec {
  background-color: #d520ec;
  color: #000000;
}
Border
.border-d520ec {
  border: 2px solid #d520ec;
}
CSS variables
:root {
  --color-primary: #d520ec;
  --color-primary-rgb: 213 32 236;
  --color-primary-hsl: 293 84% 53%;
}
Gradient
.gradient-d520ec {
  background: linear-gradient(135deg, #d520ec, #ec209d);
}
Colored shadow
.shadow-d520ec {
  box-shadow: 0 8px 24px rgb(213 32 236 / 0.35);
}

Electric Purple
#d520ec  rgb(213, 32, 236)  hsl(293, 84%, 53%)  Electric Purple
#37ec20  rgb(55, 236, 32)  hsl(113, 84%, 53%)  Lime
#ecd520  rgb(236, 213, 32)  hsl(53, 84%, 53%)  Citrine
#20ecd5  rgb(32, 236, 213)  hsl(173, 84%, 53%)  Turquoise