#B310EF

#b310ef ≈ Electric Purple

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

#b310ef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 6.27% green and 93.73% blue; printed in CMYK it uses 25.1% cyan, 93.31% magenta, 0% yellow and 6.27% black. Its hue angle is 283.86°, with 87.45% saturation and 50% 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.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.87.

Description generated from the measured properties of this color.

Conversions of #b310ef 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.1619

Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.24:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #707070 ≈ 0.003% of males
Achromatomaly #9059b1 ≈ 0.001% of males
Protanopia #0069f4 ≈ 1.01% of males
Deuteranopia #0073eb ≈ 1.27% of males
Tritanopia #ac588d ≈ 0.0001% of males
Protanomaly #6153f2 ≈ 1.08% of males
Deuteranomaly #715bed ≈ 4.63% of males
Tritanomaly #af45bd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b310ef {
  color: #b310ef;
}
Background
.bg-b310ef {
  background-color: #b310ef;
  color: #ffffff;
}
Border
.border-b310ef {
  border: 2px solid #b310ef;
}
CSS variables
:root {
  --color-primary: #b310ef;
  --color-primary-rgb: 179 16 239;
  --color-primary-hsl: 284 87% 50%;
}
Gradient
.gradient-b310ef {
  background: linear-gradient(135deg, #b310ef, #ef10bb);
}
Colored shadow
.shadow-b310ef {
  box-shadow: 0 8px 24px rgb(179 16 239 / 0.35);
}

Electric Purple
#b310ef  rgb(179, 16, 239)  hsl(284, 87%, 50%)  Electric Purple
#4cef10  rgb(76, 239, 16)  hsl(104, 87%, 50%)  Harlequin
#efb310  rgb(239, 179, 16)  hsl(44, 87%, 50%)  Amber
#10efb3  rgb(16, 239, 179)  hsl(164, 87%, 50%)  Medium Spring Green