#CA0CDC

#ca0cdc ≈ Electric Purple

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

#ca0cdc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 4.71% green and 86.27% blue; printed in CMYK it uses 8.18% cyan, 94.55% magenta, 0% yellow and 13.73% black. Its hue angle is 294.81°, with 89.66% saturation and 45.49% 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.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.15.

Description generated from the measured properties of this color.

Conversions of #ca0cdc 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.1799

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

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9e5da9 ≈ 0.001% of males
Protanopia #0069e1 ≈ 1.01% of males
Deuteranopia #437cd8 ≈ 1.27% of males
Tritanopia #cd4782 ≈ 0.0001% of males
Protanomaly #7d53df ≈ 1.08% of males
Deuteranomaly #8e62da ≈ 4.63% of males
Tritanomaly #cc38ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0cdc {
  color: #ca0cdc;
}
Background
.bg-ca0cdc {
  background-color: #ca0cdc;
  color: #000000;
}
Border
.border-ca0cdc {
  border: 2px solid #ca0cdc;
}
CSS variables
:root {
  --color-primary: #ca0cdc;
  --color-primary-rgb: 202 12 220;
  --color-primary-hsl: 295 90% 45%;
}
Gradient
.gradient-ca0cdc {
  background: linear-gradient(135deg, #ca0cdc, #dc0c86);
}
Colored shadow
.shadow-ca0cdc {
  box-shadow: 0 8px 24px rgb(202 12 220 / 0.35);
}

Electric Purple
#ca0cdc  rgb(202, 12, 220)  hsl(295, 90%, 45%)  Electric Purple
#1edc0c  rgb(30, 220, 12)  hsl(115, 90%, 45%)  Lime Green
#dcca0c  rgb(220, 202, 12)  hsl(55, 90%, 45%)  Citrine
#0cdcca  rgb(12, 220, 202)  hsl(175, 90%, 45%)  Turquoise