Skip to content

#bc4dfb

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

RGB
188, 77, 251
HSL
278°, 96%, 64%
CMYK
25, 69, 0, 2
Luminance
0.2296

Every format

HEX#bc4dfb
RGBrgb(188, 77, 251)
HSLhsl(278, 96%, 64%)
CMYKcmyk(25%, 69%, 0%, 2%)
LABlab(55.0 71.0 -67.6)
LCHlch(55.0 98.0 316.4)
OKLCHoklch(0.644 0.251 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc4dfb on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#bc4dfb on black: 5.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green30.2%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta69.3%
Yellow0.0%
Key (black)1.6%

Color previews

#bc4dfb text on a black background

contrast 5.59:1

Card sample

#bc4dfb text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc4dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc4dfb in the Color Lab