#B331DC

#b331dc ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#b331dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.2% red, 19.22% green and 86.27% blue; printed in CMYK it uses 18.64% cyan, 77.73% magenta, 0% yellow and 13.73% black. Its hue angle is 285.61°, with 70.95% 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 brand accents. White text on this color reaches a contrast ratio of 4.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.46.

Description generated from the measured properties of this color.

Conversions of #b331dc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1695

Readable text 4.78:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.39:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #915fa7 ≈ 0.001% of males
Protanopia #006be1 ≈ 1.01% of males
Deuteranopia #2f76d8 ≈ 1.27% of males
Tritanopia #b05987 ≈ 0.0001% of males
Protanomaly #6d59df ≈ 1.08% of males
Deuteranomaly #7b61da ≈ 4.63% of males
Tritanomaly #b14caf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b331dc {
  color: #b331dc;
}
Background
.bg-b331dc {
  background-color: #b331dc;
  color: #ffffff;
}
Border
.border-b331dc {
  border: 2px solid #b331dc;
}
CSS variables
:root {
  --color-primary: #b331dc;
  --color-primary-rgb: 179 49 220;
  --color-primary-hsl: 286 71% 53%;
}
Gradient
.gradient-b331dc {
  background: linear-gradient(135deg, #b331dc, #dc31b0);
}
Colored shadow
.shadow-b331dc {
  box-shadow: 0 8px 24px rgb(179 49 220 / 0.35);
}

Electric Purple
#b331dc  rgb(179, 49, 220)  hsl(286, 71%, 53%)  Electric Purple
#5adc31  rgb(90, 220, 49)  hsl(106, 71%, 53%)  Lime Green
#dcb331  rgb(220, 179, 49)  hsl(46, 71%, 53%)  Metallic Gold
#31dcb3  rgb(49, 220, 179)  hsl(166, 71%, 53%)  Caribbean Green