#B802F2

#b802f2 ≈ Electric Purple

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

#b802f2 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 94.9% blue; printed in CMYK it uses 23.97% cyan, 99.17% magenta, 0% yellow and 5.1% black. Its hue angle is 285.5°, with 98.36% saturation and 47.84% 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 4.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.21.

Description generated from the measured properties of this color.

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

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9359b4 ≈ 0.001% of males
Protanopia #006af7 ≈ 1.01% of males
Deuteranopia #0075ee ≈ 1.27% of males
Tritanopia #b2568e ≈ 0.0001% of males
Protanomaly #6453f5 ≈ 1.08% of males
Deuteranomaly #745cf0 ≈ 4.63% of males
Tritanomaly #b443bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b802f2  rgb(184, 2, 242)  hsl(286, 98%, 48%)  Electric Purple
#3cf202  rgb(60, 242, 2)  hsl(106, 98%, 48%)  Neon Green
#f2b802  rgb(242, 184, 2)  hsl(46, 98%, 48%)  Amber
#02f2b8  rgb(2, 242, 184)  hsl(166, 98%, 48%)  Aquamarine