#B51DEC

#b51dec ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#b51dec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 11.37% green and 92.55% blue; printed in CMYK it uses 23.31% cyan, 87.71% magenta, 0% yellow and 7.45% black. Its hue angle is 284.06°, with 84.49% saturation and 51.96% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.83:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.61.

Description generated from the measured properties of this color.

Conversions of #b51dec 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.1676

Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #925bb0 ≈ 0.001% of males
Protanopia #006bf1 ≈ 1.01% of males
Deuteranopia #0075e8 ≈ 1.27% of males
Tritanopia #af598d ≈ 0.0001% of males
Protanomaly #6656ef ≈ 1.08% of males
Deuteranomaly #755eea ≈ 4.63% of males
Tritanomaly #b148bb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b51dec {
  color: #b51dec;
}
Background
.bg-b51dec {
  background-color: #b51dec;
  color: #ffffff;
}
Border
.border-b51dec {
  border: 2px solid #b51dec;
}
CSS variables
:root {
  --color-primary: #b51dec;
  --color-primary-rgb: 181 29 236;
  --color-primary-hsl: 284 84% 52%;
}
Gradient
.gradient-b51dec {
  background: linear-gradient(135deg, #b51dec, #ec1dbb);
}
Colored shadow
.shadow-b51dec {
  box-shadow: 0 8px 24px rgb(181 29 236 / 0.35);
}

Electric Purple
#b51dec  rgb(181, 29, 236)  hsl(284, 84%, 52%)  Electric Purple
#54ec1d  rgb(84, 236, 29)  hsl(104, 84%, 52%)  Neon Green
#ecb51d  rgb(236, 181, 29)  hsl(44, 84%, 52%)  Meat Brown
#1decb5  rgb(29, 236, 181)  hsl(164, 84%, 52%)  Aquamarine