#CC08D8

#cc08d8 ≈ Electric Purple

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

#cc08d8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 3.14% green and 84.71% blue; printed in CMYK it uses 5.56% cyan, 96.3% magenta, 0% yellow and 15.29% black. Its hue angle is 296.54°, with 92.86% saturation and 43.92% 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 4.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.85.

Description generated from the measured properties of this color.

Conversions of #cc08d8 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1797

Readable text 4.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.59:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #a05da6 ≈ 0.001% of males
Protanopia #0068dd ≈ 1.01% of males
Deuteranopia #497dd4 ≈ 1.27% of males
Tritanopia #d1437f ≈ 0.0001% of males
Protanomaly #7f52db ≈ 1.08% of males
Deuteranomaly #9162d6 ≈ 4.63% of males
Tritanomaly #cf34aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cc08d8 {
  color: #cc08d8;
}
Background
.bg-cc08d8 {
  background-color: #cc08d8;
  color: #000000;
}
Border
.border-cc08d8 {
  border: 2px solid #cc08d8;
}
CSS variables
:root {
  --color-primary: #cc08d8;
  --color-primary-rgb: 204 8 216;
  --color-primary-hsl: 297 93% 44%;
}
Gradient
.gradient-cc08d8 {
  background: linear-gradient(135deg, #cc08d8, #d8087c);
}
Colored shadow
.shadow-cc08d8 {
  box-shadow: 0 8px 24px rgb(204 8 216 / 0.35);
}

Electric Purple
#cc08d8  rgb(204, 8, 216)  hsl(297, 93%, 44%)  Electric Purple
#14d808  rgb(20, 216, 8)  hsl(117, 93%, 44%)  Lime Green
#d8cc08  rgb(216, 204, 8)  hsl(57, 93%, 44%)  Citrine
#08d8cc  rgb(8, 216, 204)  hsl(177, 93%, 44%)  Turquoise