#B804E2

#b804e2 ≈ Electric Purple

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

#b804e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.16% red, 1.57% green and 88.63% blue; printed in CMYK it uses 18.58% cyan, 98.23% magenta, 0% yellow and 11.37% black. Its hue angle is 288.65°, with 96.52% saturation and 45.1% 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. White text on this color reaches a contrast ratio of 5.06:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.1.

Description generated from the measured properties of this color.

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

Readable text 5.06:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #9257a9 ≈ 0.001% of males
Protanopia #0065e7 ≈ 1.01% of males
Deuteranopia #0c73de ≈ 1.27% of males
Tritanopia #b64e85 ≈ 0.0001% of males
Protanomaly #6a50e5 ≈ 1.08% of males
Deuteranomaly #7a5ae0 ≈ 4.63% of males
Tritanomaly #b73db2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b804e2 {
  color: #b804e2;
}
Background
.bg-b804e2 {
  background-color: #b804e2;
  color: #ffffff;
}
Border
.border-b804e2 {
  border: 2px solid #b804e2;
}
CSS variables
:root {
  --color-primary: #b804e2;
  --color-primary-rgb: 184 4 226;
  --color-primary-hsl: 289 97% 45%;
}
Gradient
.gradient-b804e2 {
  background: linear-gradient(135deg, #b804e2, #e2049d);
}
Colored shadow
.shadow-b804e2 {
  box-shadow: 0 8px 24px rgb(184 4 226 / 0.35);
}

Electric Purple
#b804e2  rgb(184, 4, 226)  hsl(289, 97%, 45%)  Electric Purple
#2ee204  rgb(46, 226, 4)  hsl(109, 97%, 45%)  Lime Green
#e2b804  rgb(226, 184, 4)  hsl(49, 97%, 45%)  Meat Brown
#04e2b8  rgb(4, 226, 184)  hsl(169, 97%, 45%)  Caribbean Green