#B307EC

#b307ec ≈ Electric Purple

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

#b307ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 2.75% green and 92.55% blue; printed in CMYK it uses 24.15% cyan, 97.03% magenta, 0% yellow and 7.45% black. Its hue angle is 285.07°, with 94.24% saturation and 47.65% 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 5.05:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #b307ec 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.1579

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

Achromatopsia #6f6f6f ≈ 0.003% of males
Achromatomaly #8f57af ≈ 0.001% of males
Protanopia #0067f1 ≈ 1.01% of males
Deuteranopia #0072e8 ≈ 1.27% of males
Tritanopia #ad558b ≈ 0.0001% of males
Protanomaly #6151ef ≈ 1.08% of males
Deuteranomaly #715aea ≈ 4.63% of males
Tritanomaly #af42ba ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b307ec {
  color: #b307ec;
}
Background
.bg-b307ec {
  background-color: #b307ec;
  color: #ffffff;
}
Border
.border-b307ec {
  border: 2px solid #b307ec;
}
CSS variables
:root {
  --color-primary: #b307ec;
  --color-primary-rgb: 179 7 236;
  --color-primary-hsl: 285 94% 48%;
}
Gradient
.gradient-b307ec {
  background: linear-gradient(135deg, #b307ec, #ec07b2);
}
Colored shadow
.shadow-b307ec {
  box-shadow: 0 8px 24px rgb(179 7 236 / 0.35);
}

Electric Purple
#b307ec  rgb(179, 7, 236)  hsl(285, 94%, 48%)  Electric Purple
#40ec07  rgb(64, 236, 7)  hsl(105, 94%, 48%)  Neon Green
#ecb307  rgb(236, 179, 7)  hsl(45, 94%, 48%)  Meat Brown
#07ecb3  rgb(7, 236, 179)  hsl(165, 94%, 48%)  Aquamarine