#CA02F4

#ca02f4 ≈ Electric Purple

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

#ca02f4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 0.78% green and 95.69% blue; printed in CMYK it uses 17.21% cyan, 99.18% magenta, 0% yellow and 4.31% black. Its hue angle is 289.59°, with 98.37% 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.83:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.47.

Description generated from the measured properties of this color.

Conversions of #ca02f4 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.1913

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #a05fb8 ≈ 0.001% of males
Protanopia #006ff9 ≈ 1.01% of males
Deuteranopia #1b7ef0 ≈ 1.27% of males
Tritanopia #c85490 ≈ 0.0001% of males
Protanomaly #7557f7 ≈ 1.08% of males
Deuteranomaly #8763f1 ≈ 4.63% of males
Tritanomaly #c941c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ca02f4  rgb(202, 2, 244)  hsl(290, 98%, 48%)  Electric Purple
#2cf402  rgb(44, 244, 2)  hsl(110, 98%, 48%)  Lime
#f4ca02  rgb(244, 202, 2)  hsl(50, 98%, 48%)  Jonquil
#02f4ca  rgb(2, 244, 202)  hsl(170, 98%, 48%)  Aquamarine