#CC0CFA

#cc0cfa ≈ Electric Purple

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

#cc0cfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 4.71% green and 98.04% blue; printed in CMYK it uses 18.4% cyan, 95.2% magenta, 0% yellow and 1.96% black. Its hue angle is 288.4°, with 95.97% saturation and 51.37% 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:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.69.

Description generated from the measured properties of this color.

Conversions of #cc0cfa 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.2

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a262bc ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #1480f6 ≈ 1.27% of males
Tritanopia #c95894 ≈ 0.0001% of males
Protanomaly #765afd ≈ 1.08% of males
Deuteranomaly #8866f7 ≈ 4.63% of males
Tritanomaly #ca45c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0cfa {
  color: #cc0cfa;
}
Background
.bg-cc0cfa {
  background-color: #cc0cfa;
  color: #000000;
}
Border
.border-cc0cfa {
  border: 2px solid #cc0cfa;
}
CSS variables
:root {
  --color-primary: #cc0cfa;
  --color-primary-rgb: 204 12 250;
  --color-primary-hsl: 288 96% 51%;
}
Gradient
.gradient-cc0cfa {
  background: linear-gradient(135deg, #cc0cfa, #fa0cb1);
}
Colored shadow
.shadow-cc0cfa {
  box-shadow: 0 8px 24px rgb(204 12 250 / 0.35);
}

Electric Purple
#cc0cfa  rgb(204, 12, 250)  hsl(288, 96%, 51%)  Electric Purple
#3afa0c  rgb(58, 250, 12)  hsl(108, 96%, 51%)  Neon Green
#facc0c  rgb(250, 204, 12)  hsl(48, 96%, 51%)  Jonquil
#0cfacc  rgb(12, 250, 204)  hsl(168, 96%, 51%)  Aquamarine