#CA0CC8

#ca0cc8 ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ca0cc8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 4.71% green and 78.43% blue; printed in CMYK it uses 0% cyan, 94.06% magenta, 0.99% yellow and 20.78% black. Its hue angle is 300.63°, with 88.79% saturation and 41.96% 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. White text on this color reaches a contrast ratio of 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.95.

Description generated from the measured properties of this color.

Conversions of #ca0cc8 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.1699

Readable text 4.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #9d5a9c ≈ 0.001% of males
Protanopia #0064cc ≈ 1.01% of males
Deuteranopia #547ac4 ≈ 1.27% of males
Tritanopia #d13a76 ≈ 0.0001% of males
Protanomaly #824fcb ≈ 1.08% of males
Deuteranomaly #9261c6 ≈ 4.63% of males
Tritanomaly #ce2e9e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0cc8 {
  color: #ca0cc8;
}
Background
.bg-ca0cc8 {
  background-color: #ca0cc8;
  color: #ffffff;
}
Border
.border-ca0cc8 {
  border: 2px solid #ca0cc8;
}
CSS variables
:root {
  --color-primary: #ca0cc8;
  --color-primary-rgb: 202 12 200;
  --color-primary-hsl: 301 89% 42%;
}
Gradient
.gradient-ca0cc8 {
  background: linear-gradient(135deg, #ca0cc8, #ca0c69);
}
Colored shadow
.shadow-ca0cc8 {
  box-shadow: 0 8px 24px rgb(202 12 200 / 0.35);
}

Electric Purple
#ca0cc8  rgb(202, 12, 200)  hsl(301, 89%, 42%)  Electric Purple
#0cca0e  rgb(12, 202, 14)  hsl(121, 89%, 42%)  Lime Green
#c8ca0c  rgb(200, 202, 12)  hsl(61, 89%, 42%)  Citrine
#0cc8ca  rgb(12, 200, 202)  hsl(181, 89%, 42%)  Robin Egg Blue