#B308EA

#b308ea ≈ Electric Purple

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

#b308ea 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 91.76% blue; printed in CMYK it uses 23.5% cyan, 96.58% magenta, 0% yellow and 8.24% black. Its hue angle is 285.4°, with 93.39% saturation and 47.45% 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.56.

Description generated from the measured properties of this color.

Conversions of #b308ea 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.157

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 #8f57ae ≈ 0.001% of males
Protanopia #0067ef ≈ 1.01% of males
Deuteranopia #0072e6 ≈ 1.27% of males
Tritanopia #ad548a ≈ 0.0001% of males
Protanomaly #6251ed ≈ 1.08% of males
Deuteranomaly #725ae8 ≈ 4.63% of males
Tritanomaly #b042b8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b308ea  rgb(179, 8, 234)  hsl(285, 93%, 47%)  Electric Purple
#3fea08  rgb(63, 234, 8)  hsl(105, 93%, 47%)  Neon Green
#eab308  rgb(234, 179, 8)  hsl(45, 93%, 47%)  Meat Brown
#08eab3  rgb(8, 234, 179)  hsl(165, 93%, 47%)  Caribbean Green