Skip to content

#bc4dfd

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

RGB
188, 77, 253
HSL
278°, 98%, 65%
CMYK
26, 70, 0, 1
Luminance
0.2309

Every format

HEX#bc4dfd
RGBrgb(188, 77, 253)
HSLhsl(278, 98%, 65%)
CMYKcmyk(26%, 70%, 0%, 1%)
LABlab(55.2 71.4 -68.5)
LCHlch(55.2 99.0 316.2)
OKLCHoklch(0.645 0.253 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc4dfd on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#bc4dfd on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green30.2%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta69.6%
Yellow0.0%
Key (black)0.8%

Color previews

#bc4dfd text on a black background

contrast 5.62:1

Card sample

#bc4dfd text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc4dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc4dfd in the Color Lab