#B317FA

#b317fa ≈ Electric Purple

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

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

Description generated from the measured properties of this color.

Conversions of #b317fa 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.171

Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #915cb9 ≈ 0.001% of males
Protanopia #006dff ≈ 1.01% of males
Deuteranopia #0075f6 ≈ 1.27% of males
Tritanopia #a95f95 ≈ 0.0001% of males
Protanomaly #5d57fd ≈ 1.08% of males
Deuteranomaly #6d5df8 ≈ 4.63% of males
Tritanomaly #ad4cc6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Electric Purple
#b317fa  rgb(179, 23, 250)  hsl(281, 96%, 54%)  Electric Purple
#5efa17  rgb(94, 250, 23)  hsl(101, 96%, 54%)  Harlequin
#fab317  rgb(250, 179, 23)  hsl(41, 96%, 54%)  Amber
#17fab3  rgb(23, 250, 179)  hsl(161, 96%, 54%)  Medium Spring Green