#DC0AFF

#dc0aff ≈ Electric Purple

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

#dc0aff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 3.92% green and 100% blue; printed in CMYK it uses 13.73% cyan, 96.08% magenta, 0% yellow and 0% black. Its hue angle is 291.43°, with 100% saturation and 51.96% 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.53:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.64.

Description generated from the measured properties of this color.

Conversions of #dc0aff 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.2265

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.53: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 #3689fb ≈ 1.27% of males
Tritanopia #dd5797 ≈ 0.0001% of males
Protanomaly #845eff ≈ 1.08% of males
Deuteranomaly #976cfc ≈ 4.63% of males
Tritanomaly #dc44c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#dc0aff  rgb(220, 10, 255)  hsl(291, 100%, 52%)  Electric Purple
#2dff0a  rgb(45, 255, 10)  hsl(111, 100%, 52%)  Neon Green
#ffdc0a  rgb(255, 220, 10)  hsl(51, 100%, 52%)  Golden Yellow
#0affdc  rgb(10, 255, 220)  hsl(171, 100%, 52%)  Turquoise Blue