#CC0DFA

#cc0dfa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cc0dfa 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.2003

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01: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 #1580f6 ≈ 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-cc0dfa {
  color: #cc0dfa;
}
Background
.bg-cc0dfa {
  background-color: #cc0dfa;
  color: #000000;
}
Border
.border-cc0dfa {
  border: 2px solid #cc0dfa;
}
CSS variables
:root {
  --color-primary: #cc0dfa;
  --color-primary-rgb: 204 13 250;
  --color-primary-hsl: 288 96% 52%;
}
Gradient
.gradient-cc0dfa {
  background: linear-gradient(135deg, #cc0dfa, #fa0db2);
}
Colored shadow
.shadow-cc0dfa {
  box-shadow: 0 8px 24px rgb(204 13 250 / 0.35);
}

Electric Purple
#cc0dfa  rgb(204, 13, 250)  hsl(288, 96%, 52%)  Electric Purple
#3bfa0d  rgb(59, 250, 13)  hsl(108, 96%, 52%)  Neon Green
#facc0d  rgb(250, 204, 13)  hsl(48, 96%, 52%)  Jonquil
#0dfacc  rgb(13, 250, 204)  hsl(168, 96%, 52%)  Aquamarine