#DC0FFC

#dc0ffc ≈ Electric Purple

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

#dc0ffc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.88% green and 98.82% blue; printed in CMYK it uses 12.7% cyan, 94.05% magenta, 0% yellow and 1.18% black. Its hue angle is 291.9°, with 97.53% saturation and 52.35% 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.52:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.75.

Description generated from the measured properties of this color.

Conversions of #dc0ffc 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.2259

Readable text 3.81:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #ae68c0 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #3c89f8 ≈ 1.27% of males
Tritanopia #dd5695 ≈ 0.0001% of males
Protanomaly #855eff ≈ 1.08% of males
Deuteranomaly #986df9 ≈ 4.63% of males
Tritanomaly #dd44c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc0ffc  rgb(220, 15, 252)  hsl(292, 98%, 52%)  Electric Purple
#2ffc0f  rgb(47, 252, 15)  hsl(112, 98%, 52%)  Neon Green
#fcdc0f  rgb(252, 220, 15)  hsl(52, 98%, 52%)  Golden Yellow
#0ffcdc  rgb(15, 252, 220)  hsl(172, 98%, 52%)  Turquoise Blue