#CA08DC

#ca08dc ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ca08dc 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.179

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

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #9e5da8 ≈ 0.001% of males
Protanopia #0069e1 ≈ 1.01% of males
Deuteranopia #437cd8 ≈ 1.27% of males
Tritanopia #cd4682 ≈ 0.0001% of males
Protanomaly #7d52df ≈ 1.08% of males
Deuteranomaly #8e62da ≈ 4.63% of males
Tritanomaly #cc37ad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ca08dc  rgb(202, 8, 220)  hsl(295, 93%, 45%)  Electric Purple
#1adc08  rgb(26, 220, 8)  hsl(115, 93%, 45%)  Lime Green
#dcca08  rgb(220, 202, 8)  hsl(55, 93%, 45%)  Citrine
#08dcca  rgb(8, 220, 202)  hsl(175, 93%, 45%)  Turquoise