#B20FFB

#b20ffb ≈ Electric Purple

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

#b20ffb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 5.88% green and 98.43% blue; printed in CMYK it uses 29.08% cyan, 94.02% magenta, 0% yellow and 1.57% black. Its hue angle is 281.44°, with 96.72% saturation and 52.16% 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.82: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 #b20ffb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9900ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1677

Readable text 4.82: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 #905ab9 ≈ 0.001% of males
Protanopia #006cff ≈ 1.01% of males
Deuteranopia #0074f7 ≈ 1.27% of males
Tritanopia #a75e95 ≈ 0.0001% of males
Protanomaly #5a56fe ≈ 1.08% of males
Deuteranomaly #6b5cf9 ≈ 4.63% of males
Tritanomaly #ab4ac6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b20ffb {
  color: #b20ffb;
}
Background
.bg-b20ffb {
  background-color: #b20ffb;
  color: #ffffff;
}
Border
.border-b20ffb {
  border: 2px solid #b20ffb;
}
CSS variables
:root {
  --color-primary: #b20ffb;
  --color-primary-rgb: 178 15 251;
  --color-primary-hsl: 281 97% 52%;
}
Gradient
.gradient-b20ffb {
  background: linear-gradient(135deg, #b20ffb, #fb0fce);
}
Colored shadow
.shadow-b20ffb {
  box-shadow: 0 8px 24px rgb(178 15 251 / 0.35);
}

Electric Purple
#b20ffb  rgb(178, 15, 251)  hsl(281, 97%, 52%)  Electric Purple
#58fb0f  rgb(88, 251, 15)  hsl(101, 97%, 52%)  Harlequin
#fbb20f  rgb(251, 178, 15)  hsl(41, 97%, 52%)  Amber
#0ffbb2  rgb(15, 251, 178)  hsl(161, 97%, 52%)  Medium Spring Green