#CA0DD2

#ca0dd2 ≈ Electric Purple

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

#ca0dd2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 5.1% green and 82.35% blue; printed in CMYK it uses 3.81% cyan, 93.81% magenta, 0% yellow and 17.65% black. Its hue angle is 297.56°, with 88.34% saturation and 43.73% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.51.

Description generated from the measured properties of this color.

Conversions of #ca0dd2 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.175

Readable text 4.67:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.5:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9e5ca2 ≈ 0.001% of males
Protanopia #0067d6 ≈ 1.01% of males
Deuteranopia #4d7bce ≈ 1.27% of males
Tritanopia #cf417c ≈ 0.0001% of males
Protanomaly #7f51d5 ≈ 1.08% of males
Deuteranomaly #9061d0 ≈ 4.63% of males
Tritanomaly #cd33a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca0dd2 {
  color: #ca0dd2;
}
Background
.bg-ca0dd2 {
  background-color: #ca0dd2;
  color: #ffffff;
}
Border
.border-ca0dd2 {
  border: 2px solid #ca0dd2;
}
CSS variables
:root {
  --color-primary: #ca0dd2;
  --color-primary-rgb: 202 13 210;
  --color-primary-hsl: 298 88% 44%;
}
Gradient
.gradient-ca0dd2 {
  background: linear-gradient(135deg, #ca0dd2, #d20d78);
}
Colored shadow
.shadow-ca0dd2 {
  box-shadow: 0 8px 24px rgb(202 13 210 / 0.35);
}

Electric Purple
#ca0dd2  rgb(202, 13, 210)  hsl(298, 88%, 44%)  Electric Purple
#15d20d  rgb(21, 210, 13)  hsl(118, 88%, 44%)  Lime Green
#d2ca0d  rgb(210, 202, 13)  hsl(58, 88%, 44%)  Citrine
#0dd2ca  rgb(13, 210, 202)  hsl(178, 88%, 44%)  Medium Turquoise