#B802E2

#b802e2 ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #b802e2 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.1572

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.14:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #9257a9 ≈ 0.001% of males
Protanopia #0065e7 ≈ 1.01% of males
Deuteranopia #0b73de ≈ 1.27% of males
Tritanopia #b64e85 ≈ 0.0001% of males
Protanomaly #694fe5 ≈ 1.08% of males
Deuteranomaly #7a5ae0 ≈ 4.63% of males
Tritanomaly #b73cb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b802e2  rgb(184, 2, 226)  hsl(289, 98%, 45%)  Electric Purple
#2ce202  rgb(44, 226, 2)  hsl(109, 98%, 45%)  Lime Green
#e2b802  rgb(226, 184, 2)  hsl(49, 98%, 45%)  Meat Brown
#02e2b8  rgb(2, 226, 184)  hsl(169, 98%, 45%)  Caribbean Green