#D31DFD

#d31dfd ≈ Electric Purple

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

#d31dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 11.37% green and 99.22% blue; printed in CMYK it uses 16.6% cyan, 88.54% magenta, 0% yellow and 0.78% black. Its hue angle is 288.75°, with 98.25% saturation and 55.29% 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.36:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.53.

Description generated from the measured properties of this color.

Conversions of #d31dfd 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.2182

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #a867bf ≈ 0.001% of males
Protanopia #0076ff ≈ 1.01% of males
Deuteranopia #2d86f9 ≈ 1.27% of males
Tritanopia #d25b97 ≈ 0.0001% of males
Protanomaly #7e5fff ≈ 1.08% of males
Deuteranomaly #8f6bfa ≈ 4.63% of males
Tritanomaly #d24ac8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d31dfd {
  color: #d31dfd;
}
Background
.bg-d31dfd {
  background-color: #d31dfd;
  color: #000000;
}
Border
.border-d31dfd {
  border: 2px solid #d31dfd;
}
CSS variables
:root {
  --color-primary: #d31dfd;
  --color-primary-rgb: 211 29 253;
  --color-primary-hsl: 289 98% 55%;
}
Gradient
.gradient-d31dfd {
  background: linear-gradient(135deg, #d31dfd, #fd1db7);
}
Colored shadow
.shadow-d31dfd {
  box-shadow: 0 8px 24px rgb(211 29 253 / 0.35);
}

Electric Purple
#d31dfd  rgb(211, 29, 253)  hsl(289, 98%, 55%)  Electric Purple
#47fd1d  rgb(71, 253, 29)  hsl(109, 98%, 55%)  Neon Green
#fdd31d  rgb(253, 211, 29)  hsl(49, 98%, 55%)  Cyber Yellow
#1dfdd3  rgb(29, 253, 211)  hsl(169, 98%, 55%)  Aquamarine