#D20CD7

#d20cd7 ≈ Electric Purple

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

#d20cd7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 4.71% green and 84.31% blue; printed in CMYK it uses 2.33% cyan, 94.42% magenta, 0% yellow and 15.69% black. Its hue angle is 298.52°, with 89.43% saturation and 44.51% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.65.

Description generated from the measured properties of this color.

Conversions of #d20cd7 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.1887

Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a45fa7 ≈ 0.001% of males
Protanopia #006adc ≈ 1.01% of males
Deuteranopia #5280d3 ≈ 1.27% of males
Tritanopia #d8417f ≈ 0.0001% of males
Protanomaly #8554da ≈ 1.08% of males
Deuteranomaly #9765d5 ≈ 4.63% of males
Tritanomaly #d633a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d20cd7 {
  color: #d20cd7;
}
Background
.bg-d20cd7 {
  background-color: #d20cd7;
  color: #000000;
}
Border
.border-d20cd7 {
  border: 2px solid #d20cd7;
}
CSS variables
:root {
  --color-primary: #d20cd7;
  --color-primary-rgb: 210 12 215;
  --color-primary-hsl: 299 89% 45%;
}
Gradient
.gradient-d20cd7 {
  background: linear-gradient(135deg, #d20cd7, #d70c77);
}
Colored shadow
.shadow-d20cd7 {
  box-shadow: 0 8px 24px rgb(210 12 215 / 0.35);
}

Electric Purple
#d20cd7  rgb(210, 12, 215)  hsl(299, 89%, 45%)  Electric Purple
#11d70c  rgb(17, 215, 12)  hsl(119, 89%, 45%)  Lime Green
#d7d20c  rgb(215, 210, 12)  hsl(59, 89%, 45%)  Citrine
#0cd7d2  rgb(12, 215, 210)  hsl(179, 89%, 45%)  Medium Turquoise