#D021EF

#d021ef ≈ Electric Purple

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

#d021ef 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 93.73% blue; printed in CMYK it uses 12.97% cyan, 86.19% magenta, 0% yellow and 6.27% black. Its hue angle is 290.97°, with 86.55% saturation and 53.33% 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.15:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #d021ef 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.2073

Readable text 4.08:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.15:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a565b6 ≈ 0.001% of males
Protanopia #0072f4 ≈ 1.01% of males
Deuteranopia #3e83eb ≈ 1.27% of males
Tritanopia #d1568f ≈ 0.0001% of males
Protanomaly #7f5cf2 ≈ 1.08% of males
Deuteranomaly #916aed ≈ 4.63% of males
Tritanomaly #d146bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d021ef {
  color: #d021ef;
}
Background
.bg-d021ef {
  background-color: #d021ef;
  color: #000000;
}
Border
.border-d021ef {
  border: 2px solid #d021ef;
}
CSS variables
:root {
  --color-primary: #d021ef;
  --color-primary-rgb: 208 33 239;
  --color-primary-hsl: 291 87% 53%;
}
Gradient
.gradient-d021ef {
  background: linear-gradient(135deg, #d021ef, #ef21a7);
}
Colored shadow
.shadow-d021ef {
  box-shadow: 0 8px 24px rgb(208 33 239 / 0.35);
}

Electric Purple
#d021ef  rgb(208, 33, 239)  hsl(291, 87%, 53%)  Electric Purple
#40ef21  rgb(64, 239, 33)  hsl(111, 87%, 53%)  Neon Green
#efd021  rgb(239, 208, 33)  hsl(51, 87%, 53%)  Citrine
#21efd0  rgb(33, 239, 208)  hsl(171, 87%, 53%)  Turquoise