#D021FA

#d021fa ≈ Electric Purple

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

#d021fa 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.94% green and 98.04% blue; printed in CMYK it uses 16.8% cyan, 86.8% magenta, 0% yellow and 1.96% black. Its hue angle is 288.39°, with 95.59% saturation and 55.49% 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.28:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.18.

Description generated from the measured properties of this color.

Conversions of #d021fa 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.214

Readable text 3.98:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.28:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

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

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d021fa  rgb(208, 33, 250)  hsl(288, 96%, 55%)  Electric Purple
#4bfa21  rgb(75, 250, 33)  hsl(108, 96%, 55%)  Neon Green
#fad021  rgb(250, 208, 33)  hsl(48, 96%, 55%)  Cyber Yellow
#21fad0  rgb(33, 250, 208)  hsl(168, 96%, 55%)  Aquamarine