Skip to content

#bc2cfb

a balanced, electric violet · warm · closest name: magenta

RGB
188, 44, 251
HSL
282°, 96%, 58%
CMYK
25, 83, 0, 2
Luminance
0.1946

Every format

HEX#bc2cfb
RGBrgb(188, 44, 251)
HSLhsl(282, 96%, 58%)
CMYKcmyk(25%, 83%, 0%, 2%)
LABlab(51.2 82.0 -73.8)
LCHlch(51.2 110.3 318.0)
OKLCHoklch(0.617 0.282 312.1)

Copy-ready code

/* CSS */
color: #bc2cfb;
background-color: #bc2cfb;
/* Tailwind (arbitrary) */
class="text-[#bc2cfb] bg-[#bc2cfb]"
/* SCSS */
$brand: #bc2cfb;
/* SwiftUI */
Color(red: 0.737, green: 0.173, blue: 0.984)
/* Android */
Color.parseColor("#bc2cfb")

Accessibility — WCAG contrast

Aa
#bc2cfb on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#bc2cfb on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green17.3%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta82.5%
Yellow0.0%
Key (black)1.6%

Color previews

#bc2cfb text on a black background

contrast 4.89:1

Card sample

#bc2cfb text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #bc2cfb;
Background color
Panel with #bc2cfb background
background-color: #bc2cfb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #bc2cfb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(188, 44, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 44, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bc2cfb;
background: linear-gradient(135deg, #bc2cfb, #FB2CB0);

Monochromatic scale

Palettes built from #bc2cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2cfb in the Color Lab