#CA31FE

#ca31fe ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#ca31fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 19.22% green and 99.61% blue; printed in CMYK it uses 20.47% cyan, 80.71% magenta, 0% yellow and 0.39% black. Its hue angle is 284.78°, with 99.03% saturation and 59.41% lightness in HSL. It is a cool color, 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 5.38:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #ca31fe 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.2191

Readable text 3.9:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.38:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a36ac0 ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #2485fa ≈ 1.27% of males
Tritanopia #c6649a ≈ 0.0001% of males
Protanomaly #7864ff ≈ 1.08% of males
Deuteranomaly #886dfc ≈ 4.63% of males
Tritanomaly #c754ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ca31fe {
  color: #ca31fe;
}
Background
.bg-ca31fe {
  background-color: #ca31fe;
  color: #000000;
}
Border
.border-ca31fe {
  border: 2px solid #ca31fe;
}
CSS variables
:root {
  --color-primary: #ca31fe;
  --color-primary-rgb: 202 49 254;
  --color-primary-hsl: 285 99% 59%;
}
Gradient
.gradient-ca31fe {
  background: linear-gradient(135deg, #ca31fe, #fe31cb);
}
Colored shadow
.shadow-ca31fe {
  box-shadow: 0 8px 24px rgb(202 49 254 / 0.35);
}

Electric Purple
#ca31fe  rgb(202, 49, 254)  hsl(285, 99%, 59%)  Electric Purple
#65fe31  rgb(101, 254, 49)  hsl(105, 99%, 59%)  Harlequin
#feca31  rgb(254, 202, 49)  hsl(45, 99%, 59%)  Sunglow
#31feca  rgb(49, 254, 202)  hsl(165, 99%, 59%)  Aquamarine