#CA1FF2

#ca1ff2 ≈ Electric Purple

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

#ca1ff2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 12.16% green and 94.9% blue; printed in CMYK it uses 16.53% cyan, 87.19% magenta, 0% yellow and 5.1% black. Its hue angle is 288.63°, with 89.03% saturation and 53.53% 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.99:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.24.

Description generated from the measured properties of this color.

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

Readable text 4.21:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #a163b7 ≈ 0.001% of males
Protanopia #0071f7 ≈ 1.01% of males
Deuteranopia #2d80ee ≈ 1.27% of males
Tritanopia #c95891 ≈ 0.0001% of males
Protanomaly #795bf5 ≈ 1.08% of males
Deuteranomaly #8967f0 ≈ 4.63% of males
Tritanomaly #c948c0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca1ff2 {
  color: #ca1ff2;
}
Background
.bg-ca1ff2 {
  background-color: #ca1ff2;
  color: #000000;
}
Border
.border-ca1ff2 {
  border: 2px solid #ca1ff2;
}
CSS variables
:root {
  --color-primary: #ca1ff2;
  --color-primary-rgb: 202 31 242;
  --color-primary-hsl: 289 89% 54%;
}
Gradient
.gradient-ca1ff2 {
  background: linear-gradient(135deg, #ca1ff2, #f21fb0);
}
Colored shadow
.shadow-ca1ff2 {
  box-shadow: 0 8px 24px rgb(202 31 242 / 0.35);
}

Electric Purple
#ca1ff2  rgb(202, 31, 242)  hsl(289, 89%, 54%)  Electric Purple
#47f21f  rgb(71, 242, 31)  hsl(109, 89%, 54%)  Neon Green
#f2ca1f  rgb(242, 202, 31)  hsl(49, 89%, 54%)  Jonquil
#1ff2ca  rgb(31, 242, 202)  hsl(169, 89%, 54%)  Aquamarine