#DC02FE

#dc02fe ≈ Electric Purple

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

#dc02fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 0.78% green and 99.61% blue; printed in CMYK it uses 13.39% cyan, 99.21% magenta, 0% yellow and 0.39% black. Its hue angle is 291.9°, with 99.21% saturation and 50.2% 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.48:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.5.

Description generated from the measured properties of this color.

Conversions of #dc02fe into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2241

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #ae67c1 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #3688fa ≈ 1.27% of males
Tritanopia #dd5596 ≈ 0.0001% of males
Protanomaly #845dff ≈ 1.08% of males
Deuteranomaly #976cfb ≈ 4.63% of males
Tritanomaly #dc42c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc02fe  rgb(220, 2, 254)  hsl(292, 99%, 50%)  Electric Purple
#24fe02  rgb(36, 254, 2)  hsl(112, 99%, 50%)  Lime
#fedc02  rgb(254, 220, 2)  hsl(52, 99%, 50%)  Golden Yellow
#02fedc  rgb(2, 254, 220)  hsl(172, 99%, 50%)  Turquoise Blue