#CA04F2

#ca04f2 ≈ Electric Purple

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

#ca04f2 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 94.9% blue; printed in CMYK it uses 16.53% cyan, 98.35% magenta, 0% yellow and 5.1% black. Its hue angle is 289.92°, with 96.75% saturation and 48.24% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.64.

Description generated from the measured properties of this color.

Conversions of #ca04f2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc00ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1905

Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a05fb6 ≈ 0.001% of males
Protanopia #006ef7 ≈ 1.01% of males
Deuteranopia #217eee ≈ 1.27% of males
Tritanopia #c9538f ≈ 0.0001% of males
Protanomaly #7657f5 ≈ 1.08% of males
Deuteranomaly #8863ef ≈ 4.63% of males
Tritanomaly #c940bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca04f2 {
  color: #ca04f2;
}
Background
.bg-ca04f2 {
  background-color: #ca04f2;
  color: #000000;
}
Border
.border-ca04f2 {
  border: 2px solid #ca04f2;
}
CSS variables
:root {
  --color-primary: #ca04f2;
  --color-primary-rgb: 202 4 242;
  --color-primary-hsl: 290 97% 48%;
}
Gradient
.gradient-ca04f2 {
  background: linear-gradient(135deg, #ca04f2, #f204a3);
}
Colored shadow
.shadow-ca04f2 {
  box-shadow: 0 8px 24px rgb(202 4 242 / 0.35);
}

Electric Purple
#ca04f2  rgb(202, 4, 242)  hsl(290, 97%, 48%)  Electric Purple
#2cf204  rgb(44, 242, 4)  hsl(110, 97%, 48%)  Lime
#f2ca04  rgb(242, 202, 4)  hsl(50, 97%, 48%)  Jonquil
#04f2ca  rgb(4, 242, 202)  hsl(170, 97%, 48%)  Aquamarine