#D31CFB

#d31cfb ≈ Electric Purple

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

#d31cfb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 10.98% green and 98.43% blue; printed in CMYK it uses 15.94% cyan, 88.84% magenta, 0% yellow and 1.57% black. Its hue angle is 289.24°, with 96.54% 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.48.

Description generated from the measured properties of this color.

Conversions of #d31cfb 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.2164

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 #3085f7 ≈ 1.27% of males
Tritanopia #d25a96 ≈ 0.0001% of males
Protanomaly #7e5efe ≈ 1.08% of males
Deuteranomaly #906bf8 ≈ 4.63% of males
Tritanomaly #d249c7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#d31cfb  rgb(211, 28, 251)  hsl(289, 97%, 55%)  Electric Purple
#44fb1c  rgb(68, 251, 28)  hsl(109, 97%, 55%)  Neon Green
#fbd31c  rgb(251, 211, 28)  hsl(49, 97%, 55%)  Cyber Yellow
#1cfbd3  rgb(28, 251, 211)  hsl(169, 97%, 55%)  Aquamarine