#B20CEB

#b20ceb ≈ Electric Purple

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

#b20ceb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 4.71% green and 92.16% blue; printed in CMYK it uses 24.26% cyan, 94.89% magenta, 0% yellow and 7.84% black. Its hue angle is 284.66°, with 90.28% saturation and 48.43% 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 5.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.5.

Description generated from the measured properties of this color.

Conversions of #b20ceb 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.1573

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

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8e57af ≈ 0.001% of males
Protanopia #0067f0 ≈ 1.01% of males
Deuteranopia #0071e7 ≈ 1.27% of males
Tritanopia #ac558b ≈ 0.0001% of males
Protanomaly #6151ee ≈ 1.08% of males
Deuteranomaly #715ae9 ≈ 4.63% of males
Tritanomaly #ae43b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b20ceb {
  color: #b20ceb;
}
Background
.bg-b20ceb {
  background-color: #b20ceb;
  color: #ffffff;
}
Border
.border-b20ceb {
  border: 2px solid #b20ceb;
}
CSS variables
:root {
  --color-primary: #b20ceb;
  --color-primary-rgb: 178 12 235;
  --color-primary-hsl: 285 90% 48%;
}
Gradient
.gradient-b20ceb {
  background: linear-gradient(135deg, #b20ceb, #eb0cb5);
}
Colored shadow
.shadow-b20ceb {
  box-shadow: 0 8px 24px rgb(178 12 235 / 0.35);
}

Electric Purple
#b20ceb  rgb(178, 12, 235)  hsl(285, 90%, 48%)  Electric Purple
#45eb0c  rgb(69, 235, 12)  hsl(105, 90%, 48%)  Neon Green
#ebb20c  rgb(235, 178, 12)  hsl(45, 90%, 48%)  Meat Brown
#0cebb2  rgb(12, 235, 178)  hsl(165, 90%, 48%)  Aquamarine