#D02CFF

#d02cff ≈ Electric Purple

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

#d02cff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 17.25% green and 100% blue; printed in CMYK it uses 18.43% cyan, 82.75% magenta, 0% yellow and 0% black. Its hue angle is 286.64°, with 100% saturation and 58.63% 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.49:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.92.

Description generated from the measured properties of this color.

Conversions of #d02cff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2243

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.49:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #a76ac1 ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #2c87fb ≈ 1.27% of males
Tritanopia #cd629a ≈ 0.0001% of males
Protanomaly #7c63ff ≈ 1.08% of males
Deuteranomaly #8d6efc ≈ 4.63% of males
Tritanomaly #ce51cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d02cff {
  color: #d02cff;
}
Background
.bg-d02cff {
  background-color: #d02cff;
  color: #000000;
}
Border
.border-d02cff {
  border: 2px solid #d02cff;
}
CSS variables
:root {
  --color-primary: #d02cff;
  --color-primary-rgb: 208 44 255;
  --color-primary-hsl: 287 100% 59%;
}
Gradient
.gradient-d02cff {
  background: linear-gradient(135deg, #d02cff, #ff2cc4);
}
Colored shadow
.shadow-d02cff {
  box-shadow: 0 8px 24px rgb(208 44 255 / 0.35);
}

Electric Purple
#d02cff  rgb(208, 44, 255)  hsl(287, 100%, 59%)  Electric Purple
#5bff2c  rgb(91, 255, 44)  hsl(107, 100%, 59%)  Harlequin
#ffd02c  rgb(255, 208, 44)  hsl(47, 100%, 59%)  Sunglow
#2cffd0  rgb(44, 255, 208)  hsl(167, 100%, 59%)  Aquamarine