#CD02CA

#cd02ca ≈ Electric Purple

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

#cd02ca is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 79.22% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 1.46% yellow and 19.61% black. Its hue angle is 300.89°, with 98.07% saturation and 40.59% 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. White text on this color reaches a contrast ratio of 4.71:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.87.

Description generated from the measured properties of this color.

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

Readable text 4.71:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.46:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9f5b9e ≈ 0.001% of males
Protanopia #0065ce ≈ 1.01% of males
Deuteranopia #557bc6 ≈ 1.27% of males
Tritanopia #d43876 ≈ 0.0001% of males
Protanomaly #834fcd ≈ 1.08% of males
Deuteranomaly #9461c8 ≈ 4.63% of males
Tritanomaly #d12b9f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd02ca {
  color: #cd02ca;
}
Background
.bg-cd02ca {
  background-color: #cd02ca;
  color: #ffffff;
}
Border
.border-cd02ca {
  border: 2px solid #cd02ca;
}
CSS variables
:root {
  --color-primary: #cd02ca;
  --color-primary-rgb: 205 2 202;
  --color-primary-hsl: 301 98% 41%;
}
Gradient
.gradient-cd02ca {
  background: linear-gradient(135deg, #cd02ca, #cd0264);
}
Colored shadow
.shadow-cd02ca {
  box-shadow: 0 8px 24px rgb(205 2 202 / 0.35);
}

Electric Purple
#cd02ca  rgb(205, 2, 202)  hsl(301, 98%, 41%)  Electric Purple
#02cd05  rgb(2, 205, 5)  hsl(121, 98%, 41%)  Lime Green
#cacd02  rgb(202, 205, 2)  hsl(61, 98%, 41%)  Pear
#02cacd  rgb(2, 202, 205)  hsl(181, 98%, 41%)  Dark Turquoise