#CC02E0

#cc02e0 ≈ Electric Purple

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

#cc02e0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 87.84% blue; printed in CMYK it uses 8.93% cyan, 99.11% magenta, 0% yellow and 12.16% black. Its hue angle is 294.59°, with 98.23% saturation and 44.31% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.8.

Description generated from the measured properties of this color.

Conversions of #cc02e0 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.1826

Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05dab ≈ 0.001% of males
Protanopia #006ae5 ≈ 1.01% of males
Deuteranopia #417ddc ≈ 1.27% of males
Tritanopia #cf4784 ≈ 0.0001% of males
Protanomaly #7d53e3 ≈ 1.08% of males
Deuteranomaly #8f62de ≈ 4.63% of males
Tritanomaly #ce37b0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc02e0 {
  color: #cc02e0;
}
Background
.bg-cc02e0 {
  background-color: #cc02e0;
  color: #000000;
}
Border
.border-cc02e0 {
  border: 2px solid #cc02e0;
}
CSS variables
:root {
  --color-primary: #cc02e0;
  --color-primary-rgb: 204 2 224;
  --color-primary-hsl: 295 98% 44%;
}
Gradient
.gradient-cc02e0 {
  background: linear-gradient(135deg, #cc02e0, #e00285);
}
Colored shadow
.shadow-cc02e0 {
  box-shadow: 0 8px 24px rgb(204 2 224 / 0.35);
}

Electric Purple
#cc02e0  rgb(204, 2, 224)  hsl(295, 98%, 44%)  Electric Purple
#16e002  rgb(22, 224, 2)  hsl(115, 98%, 44%)  Lime Green
#e0cc02  rgb(224, 204, 2)  hsl(55, 98%, 44%)  Citrine
#02e0cc  rgb(2, 224, 204)  hsl(175, 98%, 44%)  Turquoise