#CC20FF

#cc20ff ≈ Electric Purple

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

#cc20ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 12.55% green and 100% blue; printed in CMYK it uses 20% cyan, 87.45% magenta, 0% yellow and 0% black. Its hue angle is 286.28°, with 100% saturation and 56.27% 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 5.22:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.44.

Description generated from the measured properties of this color.

Conversions of #cc20ff 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.2109

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.22:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #a366c0 ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #1283fb ≈ 1.27% of males
Tritanopia #c85f99 ≈ 0.0001% of males
Protanomaly #775fff ≈ 1.08% of males
Deuteranomaly #8869fc ≈ 4.63% of males
Tritanomaly #ca4dca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc20ff {
  color: #cc20ff;
}
Background
.bg-cc20ff {
  background-color: #cc20ff;
  color: #000000;
}
Border
.border-cc20ff {
  border: 2px solid #cc20ff;
}
CSS variables
:root {
  --color-primary: #cc20ff;
  --color-primary-rgb: 204 32 255;
  --color-primary-hsl: 286 100% 56%;
}
Gradient
.gradient-cc20ff {
  background: linear-gradient(135deg, #cc20ff, #ff20c2);
}
Colored shadow
.shadow-cc20ff {
  box-shadow: 0 8px 24px rgb(204 32 255 / 0.35);
}

Electric Purple
#cc20ff  rgb(204, 32, 255)  hsl(286, 100%, 56%)  Electric Purple
#53ff20  rgb(83, 255, 32)  hsl(106, 100%, 56%)  Harlequin
#ffcc20  rgb(255, 204, 32)  hsl(46, 100%, 56%)  Sunglow
#20ffcc  rgb(32, 255, 204)  hsl(166, 100%, 56%)  Aquamarine