#DC02EE

#dc02ee ≈ Electric Purple

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

#dc02ee 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 93.33% blue; printed in CMYK it uses 7.56% cyan, 99.16% magenta, 0% yellow and 6.67% black. Its hue angle is 295.42°, with 98.33% saturation and 47.06% 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.29:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.97.

Description generated from the measured properties of this color.

Conversions of #dc02ee 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.2143

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #ac65b6 ≈ 0.001% of males
Protanopia #0072f3 ≈ 1.01% of males
Deuteranopia #4a87ea ≈ 1.27% of males
Tritanopia #e04b8c ≈ 0.0001% of males
Protanomaly #8859f1 ≈ 1.08% of males
Deuteranomaly #9b6aeb ≈ 4.63% of males
Tritanomaly #de3abc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc02ee  rgb(220, 2, 238)  hsl(295, 98%, 47%)  Electric Purple
#14ee02  rgb(20, 238, 2)  hsl(115, 98%, 47%)  Lime
#eedc02  rgb(238, 220, 2)  hsl(55, 98%, 47%)  Dandelion
#02eedc  rgb(2, 238, 220)  hsl(175, 98%, 47%)  Bright Turquoise