#CC21EA

#cc21ea ≈ Electric Purple

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

#cc21ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 12.94% green and 91.76% blue; printed in CMYK it uses 12.82% cyan, 85.9% magenta, 0% yellow and 8.24% black. Its hue angle is 291.04°, with 82.72% saturation and 52.35% 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.97:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.

Description generated from the measured properties of this color.

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

Readable text 4.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.97:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a263b3 ≈ 0.001% of males
Protanopia #0070ef ≈ 1.01% of males
Deuteranopia #3d81e6 ≈ 1.27% of males
Tritanopia #cd548c ≈ 0.0001% of males
Protanomaly #7d5bed ≈ 1.08% of males
Deuteranomaly #8e68e8 ≈ 4.63% of males
Tritanomaly #cd45b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc21ea {
  color: #cc21ea;
}
Background
.bg-cc21ea {
  background-color: #cc21ea;
  color: #000000;
}
Border
.border-cc21ea {
  border: 2px solid #cc21ea;
}
CSS variables
:root {
  --color-primary: #cc21ea;
  --color-primary-rgb: 204 33 234;
  --color-primary-hsl: 291 83% 52%;
}
Gradient
.gradient-cc21ea {
  background: linear-gradient(135deg, #cc21ea, #ea21a4);
}
Colored shadow
.shadow-cc21ea {
  box-shadow: 0 8px 24px rgb(204 33 234 / 0.35);
}

Electric Purple
#cc21ea  rgb(204, 33, 234)  hsl(291, 83%, 52%)  Electric Purple
#3fea21  rgb(63, 234, 33)  hsl(111, 83%, 52%)  Neon Green
#eacc21  rgb(234, 204, 33)  hsl(51, 83%, 52%)  Citrine
#21eacc  rgb(33, 234, 204)  hsl(171, 83%, 52%)  Turquoise