#CC2AF2

#cc2af2 ≈ Electric Purple

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

#cc2af2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 16.47% green and 94.9% blue; printed in CMYK it uses 15.7% cyan, 82.64% magenta, 0% yellow and 5.1% black. Its hue angle is 288.6°, with 88.5% saturation and 55.69% 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #cc2af2 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.209

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a367b8 ≈ 0.001% of males
Protanopia #0074f7 ≈ 1.01% of males
Deuteranopia #3883ee ≈ 1.27% of males
Tritanopia #cb5b92 ≈ 0.0001% of males
Protanomaly #7c5ff5 ≈ 1.08% of males
Deuteranomaly #8d6af0 ≈ 4.63% of males
Tritanomaly #cb4cc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc2af2 {
  color: #cc2af2;
}
Background
.bg-cc2af2 {
  background-color: #cc2af2;
  color: #000000;
}
Border
.border-cc2af2 {
  border: 2px solid #cc2af2;
}
CSS variables
:root {
  --color-primary: #cc2af2;
  --color-primary-rgb: 204 42 242;
  --color-primary-hsl: 289 89% 56%;
}
Gradient
.gradient-cc2af2 {
  background: linear-gradient(135deg, #cc2af2, #f22ab4);
}
Colored shadow
.shadow-cc2af2 {
  box-shadow: 0 8px 24px rgb(204 42 242 / 0.35);
}

Electric Purple
#cc2af2  rgb(204, 42, 242)  hsl(289, 89%, 56%)  Electric Purple
#50f22a  rgb(80, 242, 42)  hsl(109, 89%, 56%)  Neon Green
#f2cc2a  rgb(242, 204, 42)  hsl(49, 89%, 56%)  Jonquil
#2af2cc  rgb(42, 242, 204)  hsl(169, 89%, 56%)  Aquamarine