#DC02FB

#dc02fb ≈ Electric Purple

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

#dc02fb 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 98.43% blue; printed in CMYK it uses 12.35% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 292.53°, with 98.42% saturation and 49.61% 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.44:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.53.

Description generated from the measured properties of this color.

Conversions of #dc02fb 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.2222

Readable text 3.86:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.44:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #ad66bf ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #3b88f7 ≈ 1.27% of males
Tritanopia #dd5394 ≈ 0.0001% of males
Protanomaly #855cfe ≈ 1.08% of males
Deuteranomaly #986bf8 ≈ 4.63% of males
Tritanomaly #dd41c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc02fb  rgb(220, 2, 251)  hsl(293, 98%, 50%)  Electric Purple
#21fb02  rgb(33, 251, 2)  hsl(113, 98%, 50%)  Lime
#fbdc02  rgb(251, 220, 2)  hsl(53, 98%, 50%)  Golden Yellow
#02fbdc  rgb(2, 251, 220)  hsl(173, 98%, 50%)  Turquoise Blue