#CC0DFB

#cc0dfb ≈ Electric Purple

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

#cc0dfb 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.43% blue; printed in CMYK it uses 18.73% cyan, 94.82% magenta, 0% yellow and 1.57% black. Its hue angle is 288.15°, with 96.75% saturation and 51.76% 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.02:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #cc0dfb 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.2009

Readable text 4.18:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.02:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #a262bd ≈ 0.001% of males
Protanopia #0072ff ≈ 1.01% of males
Deuteranopia #1080f7 ≈ 1.27% of males
Tritanopia #c95995 ≈ 0.0001% of males
Protanomaly #765afe ≈ 1.08% of males
Deuteranomaly #8866f8 ≈ 4.63% of males
Tritanomaly #ca46c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc0dfb {
  color: #cc0dfb;
}
Background
.bg-cc0dfb {
  background-color: #cc0dfb;
  color: #000000;
}
Border
.border-cc0dfb {
  border: 2px solid #cc0dfb;
}
CSS variables
:root {
  --color-primary: #cc0dfb;
  --color-primary-rgb: 204 13 251;
  --color-primary-hsl: 288 97% 52%;
}
Gradient
.gradient-cc0dfb {
  background: linear-gradient(135deg, #cc0dfb, #fb0db3);
}
Colored shadow
.shadow-cc0dfb {
  box-shadow: 0 8px 24px rgb(204 13 251 / 0.35);
}

Electric Purple
#cc0dfb  rgb(204, 13, 251)  hsl(288, 97%, 52%)  Electric Purple
#3cfb0d  rgb(60, 251, 13)  hsl(108, 97%, 52%)  Neon Green
#fbcc0d  rgb(251, 204, 13)  hsl(48, 97%, 52%)  Jonquil
#0dfbcc  rgb(13, 251, 204)  hsl(168, 97%, 52%)  Aquamarine