#D021EB

#d021eb ≈ Electric Purple

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

#d021eb 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 92.16% blue; printed in CMYK it uses 11.49% cyan, 85.96% magenta, 0% yellow and 7.84% black. Its hue angle is 291.98°, with 83.47% saturation and 52.55% 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.1:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.77.

Description generated from the measured properties of this color.

Conversions of #d021eb 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.205

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #a565b4 ≈ 0.001% of males
Protanopia #0071f0 ≈ 1.01% of males
Deuteranopia #4383e7 ≈ 1.27% of males
Tritanopia #d2538d ≈ 0.0001% of males
Protanomaly #805cee ≈ 1.08% of males
Deuteranomaly #9269e9 ≈ 4.63% of males
Tritanomaly #d144ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d021eb  rgb(208, 33, 235)  hsl(292, 83%, 53%)  Electric Purple
#3ceb21  rgb(60, 235, 33)  hsl(112, 83%, 53%)  Neon Green
#ebd021  rgb(235, 208, 33)  hsl(52, 83%, 53%)  Citrine
#21ebd0  rgb(33, 235, 208)  hsl(172, 83%, 53%)  Turquoise