#B237F2

#b237f2 ≈ Electric Purple

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

#b237f2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 21.57% green and 94.9% blue; printed in CMYK it uses 26.45% cyan, 77.27% magenta, 0% yellow and 5.1% black. Its hue angle is 279.47°, with 87.79% saturation and 58.24% 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.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.89.

Description generated from the measured properties of this color.

Conversions of #b237f2 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.1861

Readable text 4.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #9364b6 ≈ 0.001% of males
Protanopia #0072f7 ≈ 1.01% of males
Deuteranopia #0079ee ≈ 1.27% of males
Tritanopia #a96695 ≈ 0.0001% of males
Protanomaly #6660f5 ≈ 1.08% of males
Deuteranomaly #7465f0 ≈ 4.63% of males
Tritanomaly #ad57c1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b237f2 {
  color: #b237f2;
}
Background
.bg-b237f2 {
  background-color: #b237f2;
  color: #000000;
}
Border
.border-b237f2 {
  border: 2px solid #b237f2;
}
CSS variables
:root {
  --color-primary: #b237f2;
  --color-primary-rgb: 178 55 242;
  --color-primary-hsl: 279 88% 58%;
}
Gradient
.gradient-b237f2 {
  background: linear-gradient(135deg, #b237f2, #f237d4);
}
Colored shadow
.shadow-b237f2 {
  box-shadow: 0 8px 24px rgb(178 55 242 / 0.35);
}

Electric Purple
#b237f2  rgb(178, 55, 242)  hsl(279, 88%, 58%)  Electric Purple
#77f237  rgb(119, 242, 55)  hsl(99, 88%, 58%)  Lawn Green
#f2b237  rgb(242, 178, 55)  hsl(39, 88%, 58%)  Pastel Orange
#37f2b2  rgb(55, 242, 178)  hsl(159, 88%, 58%)  Medium Spring Green