#B306FA

#b306fa ≈ Electric Purple

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

#b306fa 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 98.04% blue; printed in CMYK it uses 28.4% cyan, 97.6% magenta, 0% yellow and 1.96% black. Its hue angle is 282.54°, with 96.06% saturation and 50.2% 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.26.

Description generated from the measured properties of this color.

Conversions of #b306fa 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.1662

Readable text 4.86:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.32:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9059b8 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0073f6 ≈ 1.27% of males
Tritanopia #a95c93 ≈ 0.0001% of males
Protanomaly #5b54fd ≈ 1.08% of males
Deuteranomaly #6c5bf8 ≈ 4.63% of males
Tritanomaly #ad48c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b306fa {
  color: #b306fa;
}
Background
.bg-b306fa {
  background-color: #b306fa;
  color: #ffffff;
}
Border
.border-b306fa {
  border: 2px solid #b306fa;
}
CSS variables
:root {
  --color-primary: #b306fa;
  --color-primary-rgb: 179 6 250;
  --color-primary-hsl: 283 96% 50%;
}
Gradient
.gradient-b306fa {
  background: linear-gradient(135deg, #b306fa, #fa06c7);
}
Colored shadow
.shadow-b306fa {
  box-shadow: 0 8px 24px rgb(179 6 250 / 0.35);
}

Electric Purple
#b306fa  rgb(179, 6, 250)  hsl(283, 96%, 50%)  Electric Purple
#4dfa06  rgb(77, 250, 6)  hsl(103, 96%, 50%)  Harlequin
#fab306  rgb(250, 179, 6)  hsl(43, 96%, 50%)  Amber
#06fab3  rgb(6, 250, 179)  hsl(163, 96%, 50%)  Medium Spring Green