#CD02EF

#cd02ef ≈ Electric Purple

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

#cd02ef 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 93.73% blue; printed in CMYK it uses 14.23% cyan, 99.16% magenta, 0% yellow and 6.27% black. Its hue angle is 291.39°, with 98.34% saturation and 47.25% 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 4.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.33.

Description generated from the measured properties of this color.

Conversions of #cd02ef 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.1925

Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a260b5 ≈ 0.001% of males
Protanopia #006ef4 ≈ 1.01% of males
Deuteranopia #2f7feb ≈ 1.27% of males
Tritanopia #cd508d ≈ 0.0001% of males
Protanomaly #7a56f2 ≈ 1.08% of males
Deuteranomaly #8c64ec ≈ 4.63% of males
Tritanomaly #cd3ebc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cd02ef {
  color: #cd02ef;
}
Background
.bg-cd02ef {
  background-color: #cd02ef;
  color: #000000;
}
Border
.border-cd02ef {
  border: 2px solid #cd02ef;
}
CSS variables
:root {
  --color-primary: #cd02ef;
  --color-primary-rgb: 205 2 239;
  --color-primary-hsl: 291 98% 47%;
}
Gradient
.gradient-cd02ef {
  background: linear-gradient(135deg, #cd02ef, #ef029a);
}
Colored shadow
.shadow-cd02ef {
  box-shadow: 0 8px 24px rgb(205 2 239 / 0.35);
}

Electric Purple
#cd02ef  rgb(205, 2, 239)  hsl(291, 98%, 47%)  Electric Purple
#24ef02  rgb(36, 239, 2)  hsl(111, 98%, 47%)  Lime
#efcd02  rgb(239, 205, 2)  hsl(51, 98%, 47%)  Jonquil
#02efcd  rgb(2, 239, 205)  hsl(171, 98%, 47%)  Turquoise