#CA0CD8

#ca0cd8 ≈ Electric Purple

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

#ca0cd8 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 84.71% blue; printed in CMYK it uses 6.48% cyan, 94.44% magenta, 0% yellow and 15.29% black. Its hue angle is 295.88°, with 89.47% saturation and 44.71% 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.61:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.68.

Description generated from the measured properties of this color.

Conversions of #ca0cd8 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.1778

Readable text 4.61:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.56:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9e5ca6 ≈ 0.001% of males
Protanopia #0068dd ≈ 1.01% of males
Deuteranopia #477cd4 ≈ 1.27% of males
Tritanopia #ce447f ≈ 0.0001% of males
Protanomaly #7e52db ≈ 1.08% of males
Deuteranomaly #8f62d6 ≈ 4.63% of males
Tritanomaly #cd36aa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ca0cd8  rgb(202, 12, 216)  hsl(296, 89%, 45%)  Electric Purple
#1ad80c  rgb(26, 216, 12)  hsl(116, 89%, 45%)  Lime Green
#d8ca0c  rgb(216, 202, 12)  hsl(56, 89%, 45%)  Citrine
#0cd8ca  rgb(12, 216, 202)  hsl(176, 89%, 45%)  Turquoise