#CD31FE

#cd31fe ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #cd31fe 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.2233

Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #a56bc1 ≈ 0.001% of males
Protanopia #0079ff ≈ 1.01% of males
Deuteranopia #2c86fa ≈ 1.27% of males
Tritanopia #c9649a ≈ 0.0001% of males
Protanomaly #7b64ff ≈ 1.08% of males
Deuteranomaly #8b6efb ≈ 4.63% of males
Tritanomaly #cb54ca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#cd31fe  rgb(205, 49, 254)  hsl(286, 99%, 59%)  Electric Purple
#62fe31  rgb(98, 254, 49)  hsl(106, 99%, 59%)  Harlequin
#fecd31  rgb(254, 205, 49)  hsl(46, 99%, 59%)  Sunglow
#31fecd  rgb(49, 254, 205)  hsl(166, 99%, 59%)  Aquamarine