#B306EB

#b306eb ≈ Electric Purple

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

#b306eb 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.35% green and 92.16% blue; printed in CMYK it uses 23.83% cyan, 97.45% magenta, 0% yellow and 7.84% black. Its hue angle is 285.33°, with 95.02% saturation and 47.25% 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.07:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.49.

Description generated from the measured properties of this color.

Conversions of #b306eb 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.1571

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

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8f57af ≈ 0.001% of males
Protanopia #0067f0 ≈ 1.01% of males
Deuteranopia #0072e7 ≈ 1.27% of males
Tritanopia #ad548a ≈ 0.0001% of males
Protanomaly #6151ee ≈ 1.08% of males
Deuteranomaly #7259e9 ≈ 4.63% of males
Tritanomaly #af42b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b306eb {
  color: #b306eb;
}
Background
.bg-b306eb {
  background-color: #b306eb;
  color: #ffffff;
}
Border
.border-b306eb {
  border: 2px solid #b306eb;
}
CSS variables
:root {
  --color-primary: #b306eb;
  --color-primary-rgb: 179 6 235;
  --color-primary-hsl: 285 95% 47%;
}
Gradient
.gradient-b306eb {
  background: linear-gradient(135deg, #b306eb, #eb06b0);
}
Colored shadow
.shadow-b306eb {
  box-shadow: 0 8px 24px rgb(179 6 235 / 0.35);
}

Electric Purple
#b306eb  rgb(179, 6, 235)  hsl(285, 95%, 47%)  Electric Purple
#3eeb06  rgb(62, 235, 6)  hsl(105, 95%, 47%)  Neon Green
#ebb306  rgb(235, 179, 6)  hsl(45, 95%, 47%)  Meat Brown
#06ebb3  rgb(6, 235, 179)  hsl(165, 95%, 47%)  Aquamarine