#CD02CB

#cd02cb ≈ Electric Purple

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

#cd02cb 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.61% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 0.98% yellow and 19.61% black. Its hue angle is 300.59°, 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.7:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.72.

Description generated from the measured properties of this color.

Conversions of #cd02cb 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.1733

Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9f5b9e ≈ 0.001% of males
Protanopia #0065cf ≈ 1.01% of males
Deuteranopia #547bc7 ≈ 1.27% of males
Tritanopia #d43977 ≈ 0.0001% of males
Protanomaly #834fce ≈ 1.08% of males
Deuteranomaly #9461c9 ≈ 4.63% of males
Tritanomaly #d12ca0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd02cb  rgb(205, 2, 203)  hsl(301, 98%, 41%)  Electric Purple
#02cd04  rgb(2, 205, 4)  hsl(121, 98%, 41%)  Lime Green
#cbcd02  rgb(203, 205, 2)  hsl(61, 98%, 41%)  Citrine
#02cbcd  rgb(2, 203, 205)  hsl(181, 98%, 41%)  Robin Egg Blue