#D31FEE

#d31fee ≈ Electric Purple

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

#d31fee is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 12.16% green and 93.33% blue; printed in CMYK it uses 11.34% cyan, 86.97% magenta, 0% yellow and 6.67% black. Its hue angle is 292.17°, with 85.89% saturation and 52.75% 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.2:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.02.

Description generated from the measured properties of this color.

Conversions of #d31fee 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.21

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.2:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #a765b6 ≈ 0.001% of males
Protanopia #0073f3 ≈ 1.01% of males
Deuteranopia #4384ea ≈ 1.27% of males
Tritanopia #d5548e ≈ 0.0001% of males
Protanomaly #825cf1 ≈ 1.08% of males
Deuteranomaly #946aeb ≈ 4.63% of males
Tritanomaly #d444bc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d31fee {
  color: #d31fee;
}
Background
.bg-d31fee {
  background-color: #d31fee;
  color: #000000;
}
Border
.border-d31fee {
  border: 2px solid #d31fee;
}
CSS variables
:root {
  --color-primary: #d31fee;
  --color-primary-rgb: 211 31 238;
  --color-primary-hsl: 292 86% 53%;
}
Gradient
.gradient-d31fee {
  background: linear-gradient(135deg, #d31fee, #ee1fa2);
}
Colored shadow
.shadow-d31fee {
  box-shadow: 0 8px 24px rgb(211 31 238 / 0.35);
}

Electric Purple
#d31fee  rgb(211, 31, 238)  hsl(292, 86%, 53%)  Electric Purple
#3aee1f  rgb(58, 238, 31)  hsl(112, 86%, 53%)  Neon Green
#eed31f  rgb(238, 211, 31)  hsl(52, 86%, 53%)  Citrine
#1feed3  rgb(31, 238, 211)  hsl(172, 86%, 53%)  Turquoise