#B940EF

#b940ef ≈ Electric Purple

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Cool

#b940ef is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.55% red, 25.1% green and 93.73% blue; printed in CMYK it uses 22.59% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 281.49°, with 84.54% saturation and 59.41% 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. Black text on this color reaches a contrast ratio of 5.04:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.15.

Description generated from the measured properties of this color.

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

Readable text 4.16:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #9869b6 ≈ 0.001% of males
Protanopia #0076f4 ≈ 1.01% of males
Deuteranopia #2c7feb ≈ 1.27% of males
Tritanopia #b36895 ≈ 0.0001% of males
Protanomaly #7165f2 ≈ 1.08% of males
Deuteranomaly #7e6bed ≈ 4.63% of males
Tritanomaly #b55ac0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b940ef {
  color: #b940ef;
}
Background
.bg-b940ef {
  background-color: #b940ef;
  color: #000000;
}
Border
.border-b940ef {
  border: 2px solid #b940ef;
}
CSS variables
:root {
  --color-primary: #b940ef;
  --color-primary-rgb: 185 64 239;
  --color-primary-hsl: 281 85% 59%;
}
Gradient
.gradient-b940ef {
  background: linear-gradient(135deg, #b940ef, #ef40cd);
}
Colored shadow
.shadow-b940ef {
  box-shadow: 0 8px 24px rgb(185 64 239 / 0.35);
}

Electric Purple
#b940ef  rgb(185, 64, 239)  hsl(281, 85%, 59%)  Electric Purple
#76ef40  rgb(118, 239, 64)  hsl(101, 85%, 59%)  Lawn Green
#efb940  rgb(239, 185, 64)  hsl(41, 85%, 59%)  Meat Brown
#40efb9  rgb(64, 239, 185)  hsl(161, 85%, 59%)  Aquamarine