#D021EA

#d021ea ≈ Electric Purple

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

#d021ea 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 91.76% blue; printed in CMYK it uses 11.11% cyan, 85.9% magenta, 0% yellow and 8.24% black. Its hue angle is 292.24°, with 82.72% saturation and 52.35% 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.09:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.84.

Description generated from the measured properties of this color.

Conversions of #d021ea 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.2044

Readable text 4.13:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.09:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a564b3 ≈ 0.001% of males
Protanopia #0071ef ≈ 1.01% of males
Deuteranopia #4483e6 ≈ 1.27% of males
Tritanopia #d2538c ≈ 0.0001% of males
Protanomaly #815bed ≈ 1.08% of males
Deuteranomaly #9269e8 ≈ 4.63% of males
Tritanomaly #d144b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d021ea {
  color: #d021ea;
}
Background
.bg-d021ea {
  background-color: #d021ea;
  color: #000000;
}
Border
.border-d021ea {
  border: 2px solid #d021ea;
}
CSS variables
:root {
  --color-primary: #d021ea;
  --color-primary-rgb: 208 33 234;
  --color-primary-hsl: 292 83% 52%;
}
Gradient
.gradient-d021ea {
  background: linear-gradient(135deg, #d021ea, #ea219f);
}
Colored shadow
.shadow-d021ea {
  box-shadow: 0 8px 24px rgb(208 33 234 / 0.35);
}

Electric Purple
#d021ea  rgb(208, 33, 234)  hsl(292, 83%, 52%)  Electric Purple
#3bea21  rgb(59, 234, 33)  hsl(112, 83%, 52%)  Neon Green
#ead021  rgb(234, 208, 33)  hsl(52, 83%, 52%)  Citrine
#21ead0  rgb(33, 234, 208)  hsl(172, 83%, 52%)  Turquoise