#D331FF

#d331ff ≈ Electric Purple

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

#d331ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 19.22% green and 100% blue; printed in CMYK it uses 17.25% cyan, 80.78% magenta, 0% yellow and 0% black. Its hue angle is 287.18°, with 100% saturation and 59.61% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.81.

Description generated from the measured properties of this color.

Conversions of #d331ff 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.2327

Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #aa6dc2 ≈ 0.001% of males
Protanopia #007bff ≈ 1.01% of males
Deuteranopia #3789fb ≈ 1.27% of males
Tritanopia #d1639b ≈ 0.0001% of males
Protanomaly #8065ff ≈ 1.08% of males
Deuteranomaly #9170fc ≈ 4.63% of males
Tritanomaly #d253cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d331ff {
  color: #d331ff;
}
Background
.bg-d331ff {
  background-color: #d331ff;
  color: #000000;
}
Border
.border-d331ff {
  border: 2px solid #d331ff;
}
CSS variables
:root {
  --color-primary: #d331ff;
  --color-primary-rgb: 211 49 255;
  --color-primary-hsl: 287 100% 60%;
}
Gradient
.gradient-d331ff {
  background: linear-gradient(135deg, #d331ff, #ff31c4);
}
Colored shadow
.shadow-d331ff {
  box-shadow: 0 8px 24px rgb(211 49 255 / 0.35);
}

Electric Purple
#d331ff  rgb(211, 49, 255)  hsl(287, 100%, 60%)  Electric Purple
#5dff31  rgb(93, 255, 49)  hsl(107, 100%, 60%)  Neon Green
#ffd331  rgb(255, 211, 49)  hsl(47, 100%, 60%)  Cyber Yellow
#31ffd3  rgb(49, 255, 211)  hsl(167, 100%, 60%)  Aquamarine