#DC0DFF

#dc0dff ≈ Electric Purple

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

#dc0dff 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.1% green and 100% blue; printed in CMYK it uses 13.73% cyan, 94.9% magenta, 0% yellow and 0% black. Its hue angle is 291.32°, with 100% saturation and 52.55% 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.54:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.7.

Description generated from the measured properties of this color.

Conversions of #dc0dff 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.2272

Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #ae68c1 ≈ 0.001% of males
Protanopia #0077ff ≈ 1.01% of males
Deuteranopia #3789fb ≈ 1.27% of males
Tritanopia #dd5797 ≈ 0.0001% of males
Protanomaly #845eff ≈ 1.08% of males
Deuteranomaly #976dfc ≈ 4.63% of males
Tritanomaly #dc45c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0dff {
  color: #dc0dff;
}
Background
.bg-dc0dff {
  background-color: #dc0dff;
  color: #000000;
}
Border
.border-dc0dff {
  border: 2px solid #dc0dff;
}
CSS variables
:root {
  --color-primary: #dc0dff;
  --color-primary-rgb: 220 13 255;
  --color-primary-hsl: 291 100% 53%;
}
Gradient
.gradient-dc0dff {
  background: linear-gradient(135deg, #dc0dff, #ff0da9);
}
Colored shadow
.shadow-dc0dff {
  box-shadow: 0 8px 24px rgb(220 13 255 / 0.35);
}

Electric Purple
#dc0dff  rgb(220, 13, 255)  hsl(291, 100%, 53%)  Electric Purple
#30ff0d  rgb(48, 255, 13)  hsl(111, 100%, 53%)  Neon Green
#ffdc0d  rgb(255, 220, 13)  hsl(51, 100%, 53%)  Golden Yellow
#0dffdc  rgb(13, 255, 220)  hsl(171, 100%, 53%)  Turquoise Blue