#B240EF

#b240ef ≈ Electric Purple

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

#b240ef is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 25.1% green and 93.73% blue; printed in CMYK it uses 25.52% cyan, 73.22% magenta, 0% yellow and 6.27% black. Its hue angle is 279.09°, with 84.54% saturation and 59.41% 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.87:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.9.

Description generated from the measured properties of this color.

Conversions of #b240ef 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.1936

Readable text 4.31:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.87:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7a7a7a ≈ 0.003% of males
Achromatomaly #9467b5 ≈ 0.001% of males
Protanopia #0075f4 ≈ 1.01% of males
Deuteranopia #1b7ceb ≈ 1.27% of males
Tritanopia #aa6995 ≈ 0.0001% of males
Protanomaly #6a64f2 ≈ 1.08% of males
Deuteranomaly #7769ed ≈ 4.63% of males
Tritanomaly #ad5bc0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b240ef {
  color: #b240ef;
}
Background
.bg-b240ef {
  background-color: #b240ef;
  color: #000000;
}
Border
.border-b240ef {
  border: 2px solid #b240ef;
}
CSS variables
:root {
  --color-primary: #b240ef;
  --color-primary-rgb: 178 64 239;
  --color-primary-hsl: 279 85% 59%;
}
Gradient
.gradient-b240ef {
  background: linear-gradient(135deg, #b240ef, #ef40d4);
}
Colored shadow
.shadow-b240ef {
  box-shadow: 0 8px 24px rgb(178 64 239 / 0.35);
}

Electric Purple
#b240ef  rgb(178, 64, 239)  hsl(279, 85%, 59%)  Electric Purple
#7def40  rgb(125, 239, 64)  hsl(99, 85%, 59%)  Lawn Green
#efb240  rgb(239, 178, 64)  hsl(39, 85%, 59%)  Pastel Orange
#40efb2  rgb(64, 239, 178)  hsl(159, 85%, 59%)  Medium Spring Green