#CD02EC

#cd02ec ≈ Electric Purple

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

#cd02ec 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 92.55% blue; printed in CMYK it uses 13.14% cyan, 99.15% magenta, 0% yellow and 7.45% black. Its hue angle is 292.05°, with 98.32% saturation and 46.67% 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.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.59.

Description generated from the measured properties of this color.

Conversions of #cd02ec 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.1908

Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a15fb3 ≈ 0.001% of males
Protanopia #006df1 ≈ 1.01% of males
Deuteranopia #337fe8 ≈ 1.27% of males
Tritanopia #ce4e8b ≈ 0.0001% of males
Protanomaly #7b56ef ≈ 1.08% of males
Deuteranomaly #8d64ea ≈ 4.63% of males
Tritanomaly #ce3dba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd02ec  rgb(205, 2, 236)  hsl(292, 98%, 47%)  Electric Purple
#21ec02  rgb(33, 236, 2)  hsl(112, 98%, 47%)  Lime
#eccd02  rgb(236, 205, 2)  hsl(52, 98%, 47%)  Citrine
#02eccd  rgb(2, 236, 205)  hsl(172, 98%, 47%)  Turquoise