#DC02E2

#dc02e2 ≈ Electric Purple

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

#dc02e2 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 88.63% blue; printed in CMYK it uses 2.65% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 298.39°, with 98.25% saturation and 44.71% 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 6.84.

Description generated from the measured properties of this color.

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

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 #ac63af ≈ 0.001% of males
Protanopia #006fe7 ≈ 1.01% of males
Deuteranopia #5586de ≈ 1.27% of males
Tritanopia #e24385 ≈ 0.0001% of males
Protanomaly #8b57e5 ≈ 1.08% of males
Deuteranomaly #9e69df ≈ 4.63% of males
Tritanomaly #e034b2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc02e2 {
  color: #dc02e2;
}
Background
.bg-dc02e2 {
  background-color: #dc02e2;
  color: #000000;
}
Border
.border-dc02e2 {
  border: 2px solid #dc02e2;
}
CSS variables
:root {
  --color-primary: #dc02e2;
  --color-primary-rgb: 220 2 226;
  --color-primary-hsl: 298 98% 45%;
}
Gradient
.gradient-dc02e2 {
  background: linear-gradient(135deg, #dc02e2, #e20278);
}
Colored shadow
.shadow-dc02e2 {
  box-shadow: 0 8px 24px rgb(220 2 226 / 0.35);
}

Electric Purple
#dc02e2  rgb(220, 2, 226)  hsl(298, 98%, 45%)  Electric Purple
#08e202  rgb(8, 226, 2)  hsl(118, 98%, 45%)  Lime Green
#e2dc02  rgb(226, 220, 2)  hsl(58, 98%, 45%)  Titanium Yellow
#02e2dc  rgb(2, 226, 220)  hsl(178, 98%, 45%)  Bright Turquoise