#B140F2

#b140f2 ≈ Electric Purple

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#b140f2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.41% red, 25.1% green and 94.9% blue; printed in CMYK it uses 26.86% cyan, 73.55% magenta, 0% yellow and 5.1% black. Its hue angle is 278.09°, with 87.25% saturation and 60% 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. Black text on this color reaches a contrast ratio of 4.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.86.

Description generated from the measured properties of this color.

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

Readable text 4.3:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.88:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #9368b7 ≈ 0.001% of males
Protanopia #0075f7 ≈ 1.01% of males
Deuteranopia #0b7bee ≈ 1.27% of males
Tritanopia #a86a97 ≈ 0.0001% of males
Protanomaly #6864f5 ≈ 1.08% of males
Deuteranomaly #7569f0 ≈ 4.63% of males
Tritanomaly #ab5cc2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b140f2 {
  color: #b140f2;
}
Background
.bg-b140f2 {
  background-color: #b140f2;
  color: #000000;
}
Border
.border-b140f2 {
  border: 2px solid #b140f2;
}
CSS variables
:root {
  --color-primary: #b140f2;
  --color-primary-rgb: 177 64 242;
  --color-primary-hsl: 278 87% 60%;
}
Gradient
.gradient-b140f2 {
  background: linear-gradient(135deg, #b140f2, #f240da);
}
Colored shadow
.shadow-b140f2 {
  box-shadow: 0 8px 24px rgb(177 64 242 / 0.35);
}

Electric Purple
#b140f2  rgb(177, 64, 242)  hsl(278, 87%, 60%)  Electric Purple
#81f240  rgb(129, 242, 64)  hsl(98, 87%, 60%)  Lawn Green
#f2b140  rgb(242, 177, 64)  hsl(38, 87%, 60%)  Pastel Orange
#40f2b1  rgb(64, 242, 177)  hsl(158, 87%, 60%)  Medium Spring Green