#D31DFA

#d31dfa ≈ Electric Purple

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

#d31dfa 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 98.04% blue; printed in CMYK it uses 15.6% cyan, 88.4% magenta, 0% yellow and 1.96% black. Its hue angle is 289.41°, with 95.67% saturation and 54.71% 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.33: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 #d31dfa 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.2163

Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.33:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #a867be ≈ 0.001% of males
Protanopia #0075ff ≈ 1.01% of males
Deuteranopia #3285f6 ≈ 1.27% of males
Tritanopia #d25a95 ≈ 0.0001% of males
Protanomaly #7e5efd ≈ 1.08% of males
Deuteranomaly #906bf7 ≈ 4.63% of males
Tritanomaly #d349c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d31dfa  rgb(211, 29, 250)  hsl(289, 96%, 55%)  Electric Purple
#44fa1d  rgb(68, 250, 29)  hsl(109, 96%, 55%)  Neon Green
#fad31d  rgb(250, 211, 29)  hsl(49, 96%, 55%)  Gold
#1dfad3  rgb(29, 250, 211)  hsl(169, 96%, 55%)  Aquamarine