#DB02EF

#db02ef ≈ Electric Purple

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

#db02ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 0.78% green and 93.73% blue; printed in CMYK it uses 8.37% cyan, 99.16% magenta, 0% yellow and 6.27% black. Its hue angle is 294.94°, with 98.34% saturation and 47.25% 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.27:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #db02ef 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.2134

Readable text 3.99:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.27:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #ac64b7 ≈ 0.001% of males
Protanopia #0072f4 ≈ 1.01% of males
Deuteranopia #4886eb ≈ 1.27% of males
Tritanopia #df4c8d ≈ 0.0001% of males
Protanomaly #8759f2 ≈ 1.08% of males
Deuteranomaly #9a6aec ≈ 4.63% of males
Tritanomaly #dd3bbc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#db02ef  rgb(219, 2, 239)  hsl(295, 98%, 47%)  Electric Purple
#16ef02  rgb(22, 239, 2)  hsl(115, 98%, 47%)  Lime
#efdb02  rgb(239, 219, 2)  hsl(55, 98%, 47%)  Dandelion
#02efdb  rgb(2, 239, 219)  hsl(175, 98%, 47%)  Bright Turquoise