Skip to content

#bc0dfb

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

RGB
188, 13, 251
HSL
284°, 97%, 52%
CMYK
25, 95, 0, 2
Luminance
0.1794

Every format

HEX#bc0dfb
RGBrgb(188, 13, 251)
HSLhsl(284, 97%, 52%)
CMYKcmyk(25%, 95%, 0%, 2%)
LABlab(49.4 87.3 -76.7)
LCHlch(49.4 116.2 318.7)
OKLCHoklch(0.605 0.297 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc0dfb on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#bc0dfb on black: 4.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green5.1%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#bc0dfb text on a black background

contrast 4.59:1

Card sample

#bc0dfb text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc0dfb in the Color Lab