Skip to content

#bc1fdf

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

RGB
188, 31, 223
HSL
289°, 76%, 50%
CMYK
16, 86, 0, 13
Luminance
0.1700

Every format

HEX#bc1fdf
RGBrgb(188, 31, 223)
HSLhsl(289, 76%, 50%)
CMYKcmyk(16%, 86%, 0%, 13%)
LABlab(48.3 79.8 -62.9)
LCHlch(48.3 101.6 321.8)
OKLCHoklch(0.590 0.269 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc1fdf on white: 4.77:1
AA ✓ pass · AA-large · AAA
Aa
#bc1fdf on black: 4.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green12.2%
Blue87.5%

CMYK percentages

Cyan15.7%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#bc1fdf text on a black background

contrast 4.40:1

Card sample

#bc1fdf text on a white background

contrast 4.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc1fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc1fdf in the Color Lab