#D021FE

#d021fe ≈ Electric Purple

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

#d021fe 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 99.61% blue; printed in CMYK it uses 18.11% cyan, 87.01% magenta, 0% yellow and 0.39% black. Its hue angle is 287.51°, with 99.1% saturation and 56.27% 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.33:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #d021fe 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.2165

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a667c0 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #2585fa ≈ 1.27% of males
Tritanopia #cd5e98 ≈ 0.0001% of males
Protanomaly #7b5fff ≈ 1.08% of males
Deuteranomaly #8c6bfb ≈ 4.63% of males
Tritanomaly #ce4cc9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d021fe  rgb(208, 33, 254)  hsl(288, 99%, 56%)  Electric Purple
#4ffe21  rgb(79, 254, 33)  hsl(108, 99%, 56%)  Harlequin
#fed021  rgb(254, 208, 33)  hsl(48, 99%, 56%)  Cyber Yellow
#21fed0  rgb(33, 254, 208)  hsl(168, 99%, 56%)  Aquamarine