#DC02EB

#dc02eb ≈ Electric Purple

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

#dc02eb 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 92.16% blue; printed in CMYK it uses 6.38% cyan, 99.15% magenta, 0% yellow and 7.84% black. Its hue angle is 296.14°, with 98.31% saturation and 46.47% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.15.

Description generated from the measured properties of this color.

Conversions of #dc02eb 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.2126

Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #ac64b5 ≈ 0.001% of males
Protanopia #0071f0 ≈ 1.01% of males
Deuteranopia #4d86e7 ≈ 1.27% of males
Tritanopia #e1498b ≈ 0.0001% of males
Protanomaly #8959ee ≈ 1.08% of males
Deuteranomaly #9c6ae8 ≈ 4.63% of males
Tritanomaly #df39b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc02eb  rgb(220, 2, 235)  hsl(296, 98%, 46%)  Electric Purple
#11eb02  rgb(17, 235, 2)  hsl(116, 98%, 46%)  Lime
#ebdc02  rgb(235, 220, 2)  hsl(56, 98%, 46%)  Dandelion
#02ebdc  rgb(2, 235, 220)  hsl(176, 98%, 46%)  Bright Turquoise