#B331F2

#b331f2 ≈ Electric Purple

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

#b331f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 19.22% green and 94.9% blue; printed in CMYK it uses 26.03% cyan, 79.75% magenta, 0% yellow and 5.1% black. Its hue angle is 280.41°, with 88.13% saturation and 57.06% 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. Black text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.43.

Description generated from the measured properties of this color.

Conversions of #b331f2 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.1819

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

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #9262b5 ≈ 0.001% of males
Protanopia #0071f7 ≈ 1.01% of males
Deuteranopia #0078ee ≈ 1.27% of males
Tritanopia #ab6393 ≈ 0.0001% of males
Protanomaly #665df5 ≈ 1.08% of males
Deuteranomaly #7463f0 ≈ 4.63% of males
Tritanomaly #ae53c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b331f2 {
  color: #b331f2;
}
Background
.bg-b331f2 {
  background-color: #b331f2;
  color: #000000;
}
Border
.border-b331f2 {
  border: 2px solid #b331f2;
}
CSS variables
:root {
  --color-primary: #b331f2;
  --color-primary-rgb: 179 49 242;
  --color-primary-hsl: 280 88% 57%;
}
Gradient
.gradient-b331f2 {
  background: linear-gradient(135deg, #b331f2, #f231d1);
}
Colored shadow
.shadow-b331f2 {
  box-shadow: 0 8px 24px rgb(179 49 242 / 0.35);
}

Electric Purple
#b331f2  rgb(179, 49, 242)  hsl(280, 88%, 57%)  Electric Purple
#70f231  rgb(112, 242, 49)  hsl(100, 88%, 57%)  Lawn Green
#f2b331  rgb(242, 179, 49)  hsl(40, 88%, 57%)  Meat Brown
#31f2b3  rgb(49, 242, 179)  hsl(160, 88%, 57%)  Medium Spring Green