#DC0CF8

#dc0cf8 ≈ Electric Purple

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

#dc0cf8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 97.25% blue; printed in CMYK it uses 11.29% cyan, 95.16% magenta, 0% yellow and 2.75% black. Its hue angle is 292.88°, with 94.4% saturation and 50.98% 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.45: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 #dc0cf8 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.2226

Readable text 3.85:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.45:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #ad67bd ≈ 0.001% of males
Protanopia #0075fd ≈ 1.01% of males
Deuteranopia #4188f4 ≈ 1.27% of males
Tritanopia #de5393 ≈ 0.0001% of males
Protanomaly #865dfb ≈ 1.08% of males
Deuteranomaly #996cf5 ≈ 4.63% of males
Tritanomaly #dd41c4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc0cf8  rgb(220, 12, 248)  hsl(293, 94%, 51%)  Electric Purple
#28f80c  rgb(40, 248, 12)  hsl(113, 94%, 51%)  Lime
#f8dc0c  rgb(248, 220, 12)  hsl(53, 94%, 51%)  Golden Yellow
#0cf8dc  rgb(12, 248, 220)  hsl(173, 94%, 51%)  Turquoise Blue