#CA04D7

#ca04d7 ≈ Electric Purple

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

#ca04d7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 1.57% green and 84.31% blue; printed in CMYK it uses 6.05% cyan, 98.14% magenta, 0% yellow and 15.69% black. Its hue angle is 296.3°, with 96.35% saturation and 42.94% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.81.

Description generated from the measured properties of this color.

Conversions of #ca04d7 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.1755

Readable text 4.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.51:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #747474 ≈ 0.003% of males
Achromatomaly #9e5ba5 ≈ 0.001% of males
Protanopia #0067dc ≈ 1.01% of males
Deuteranopia #477bd3 ≈ 1.27% of males
Tritanopia #ce427e ≈ 0.0001% of males
Protanomaly #7e51da ≈ 1.08% of males
Deuteranomaly #8f61d5 ≈ 4.63% of males
Tritanomaly #cd33a9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca04d7 {
  color: #ca04d7;
}
Background
.bg-ca04d7 {
  background-color: #ca04d7;
  color: #ffffff;
}
Border
.border-ca04d7 {
  border: 2px solid #ca04d7;
}
CSS variables
:root {
  --color-primary: #ca04d7;
  --color-primary-rgb: 202 4 215;
  --color-primary-hsl: 296 96% 43%;
}
Gradient
.gradient-ca04d7 {
  background: linear-gradient(135deg, #ca04d7, #d7047b);
}
Colored shadow
.shadow-ca04d7 {
  box-shadow: 0 8px 24px rgb(202 4 215 / 0.35);
}

Electric Purple
#ca04d7  rgb(202, 4, 215)  hsl(296, 96%, 43%)  Electric Purple
#11d704  rgb(17, 215, 4)  hsl(116, 96%, 43%)  Lime Green
#d7ca04  rgb(215, 202, 4)  hsl(56, 96%, 43%)  Citrine
#04d7ca  rgb(4, 215, 202)  hsl(176, 96%, 43%)  Turquoise