#CA1DF2

#ca1df2 ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #ca1df2 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.1985

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.97: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 #2c80ee ≈ 1.27% of males
Tritanopia #c95791 ≈ 0.0001% of males
Protanomaly #785bf5 ≈ 1.08% of males
Deuteranomaly #8967f0 ≈ 4.63% of males
Tritanomaly #c947bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#ca1df2  rgb(202, 29, 242)  hsl(289, 89%, 53%)  Electric Purple
#45f21d  rgb(69, 242, 29)  hsl(109, 89%, 53%)  Neon Green
#f2ca1d  rgb(242, 202, 29)  hsl(49, 89%, 53%)  Jonquil
#1df2ca  rgb(29, 242, 202)  hsl(169, 89%, 53%)  Aquamarine