#B308FA

#b308fa ≈ Electric Purple

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

#b308fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 3.14% green and 98.04% blue; printed in CMYK it uses 28.4% cyan, 96.8% magenta, 0% yellow and 1.96% black. Its hue angle is 282.4°, with 96.03% saturation and 50.59% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #b308fa 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.1666

Readable text 4.85:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.33:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #717171 ≈ 0.003% of males
Achromatomaly #9059b9 ≈ 0.001% of males
Protanopia #006bff ≈ 1.01% of males
Deuteranopia #0074f6 ≈ 1.27% of males
Tritanopia #a95c94 ≈ 0.0001% of males
Protanomaly #5b55fd ≈ 1.08% of males
Deuteranomaly #6c5bf8 ≈ 4.63% of males
Tritanomaly #ad49c5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b308fa  rgb(179, 8, 250)  hsl(282, 96%, 51%)  Electric Purple
#4ffa08  rgb(79, 250, 8)  hsl(102, 96%, 51%)  Harlequin
#fab308  rgb(250, 179, 8)  hsl(42, 96%, 51%)  Amber
#08fab3  rgb(8, 250, 179)  hsl(162, 96%, 51%)  Medium Spring Green