#D020FA

#d020fa ≈ Electric Purple

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

#d020fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 12.55% green and 98.04% blue; printed in CMYK it uses 16.8% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 288.44°, with 95.61% saturation and 55.29% 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.27:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.13.

Description generated from the measured properties of this color.

Conversions of #d020fa 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.2135

Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a666bd ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #2d84f6 ≈ 1.27% of males
Tritanopia #ce5b96 ≈ 0.0001% of males
Protanomaly #7c5efd ≈ 1.08% of males
Deuteranomaly #8d6af7 ≈ 4.63% of males
Tritanomaly #cf4ac6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d020fa {
  color: #d020fa;
}
Background
.bg-d020fa {
  background-color: #d020fa;
  color: #000000;
}
Border
.border-d020fa {
  border: 2px solid #d020fa;
}
CSS variables
:root {
  --color-primary: #d020fa;
  --color-primary-rgb: 208 32 250;
  --color-primary-hsl: 288 96% 55%;
}
Gradient
.gradient-d020fa {
  background: linear-gradient(135deg, #d020fa, #fa20b7);
}
Colored shadow
.shadow-d020fa {
  box-shadow: 0 8px 24px rgb(208 32 250 / 0.35);
}

Electric Purple
#d020fa  rgb(208, 32, 250)  hsl(288, 96%, 55%)  Electric Purple
#4afa20  rgb(74, 250, 32)  hsl(108, 96%, 55%)  Neon Green
#fad020  rgb(250, 208, 32)  hsl(48, 96%, 55%)  Cyber Yellow
#20fad0  rgb(32, 250, 208)  hsl(168, 96%, 55%)  Aquamarine