#B31CFF

#b31cff ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#b31cff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 10.98% green and 100% blue; printed in CMYK it uses 29.8% cyan, 89.02% magenta, 0% yellow and 0% black. Its hue angle is 279.91°, with 100% saturation and 55.49% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #b31cff into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1763

Readable text 4.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.53:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #757575 ≈ 0.003% of males
Achromatomaly #925dbc ≈ 0.001% of males
Protanopia #006fff ≈ 1.01% of males
Deuteranopia #0076fb ≈ 1.27% of males
Tritanopia #a76298 ≈ 0.0001% of males
Protanomaly #5c59ff ≈ 1.08% of males
Deuteranomaly #6c5ffd ≈ 4.63% of males
Tritanomaly #ac4fca ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b31cff {
  color: #b31cff;
}
Background
.bg-b31cff {
  background-color: #b31cff;
  color: #ffffff;
}
Border
.border-b31cff {
  border: 2px solid #b31cff;
}
CSS variables
:root {
  --color-primary: #b31cff;
  --color-primary-rgb: 179 28 255;
  --color-primary-hsl: 280 100% 55%;
}
Gradient
.gradient-b31cff {
  background: linear-gradient(135deg, #b31cff, #ff1cda);
}
Colored shadow
.shadow-b31cff {
  box-shadow: 0 8px 24px rgb(179 28 255 / 0.35);
}

Electric Purple
#b31cff  rgb(179, 28, 255)  hsl(280, 100%, 55%)  Electric Purple
#68ff1c  rgb(104, 255, 28)  hsl(100, 100%, 55%)  Harlequin
#ffb31c  rgb(255, 179, 28)  hsl(40, 100%, 55%)  Pastel Orange
#1cffb3  rgb(28, 255, 179)  hsl(160, 100%, 55%)  Medium Spring Green