#B502FB

#b502fb ≈ Electric Purple

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

#b502fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 0.78% green and 98.43% blue; printed in CMYK it uses 27.89% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 283.13°, with 98.42% saturation and 49.61% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #b502fb 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.1683

Readable text 4.81:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.37:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #727272 ≈ 0.003% of males
Achromatomaly #925ab9 ≈ 0.001% of males
Protanopia #006cff ≈ 1.01% of males
Deuteranopia #0074f7 ≈ 1.27% of males
Tritanopia #ab5c94 ≈ 0.0001% of males
Protanomaly #5d54fe ≈ 1.08% of males
Deuteranomaly #6e5bf9 ≈ 4.63% of males
Tritanomaly #af48c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b502fb {
  color: #b502fb;
}
Background
.bg-b502fb {
  background-color: #b502fb;
  color: #ffffff;
}
Border
.border-b502fb {
  border: 2px solid #b502fb;
}
CSS variables
:root {
  --color-primary: #b502fb;
  --color-primary-rgb: 181 2 251;
  --color-primary-hsl: 283 98% 50%;
}
Gradient
.gradient-b502fb {
  background: linear-gradient(135deg, #b502fb, #fb02c5);
}
Colored shadow
.shadow-b502fb {
  box-shadow: 0 8px 24px rgb(181 2 251 / 0.35);
}

Electric Purple
#b502fb  rgb(181, 2, 251)  hsl(283, 98%, 50%)  Electric Purple
#48fb02  rgb(72, 251, 2)  hsl(103, 98%, 50%)  Harlequin
#fbb502  rgb(251, 181, 2)  hsl(43, 98%, 50%)  Amber
#02fbb5  rgb(2, 251, 181)  hsl(163, 98%, 50%)  Medium Spring Green