Skip to content

#bc2ffc

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

RGB
188, 47, 252
HSL
281°, 97%, 59%
CMYK
25, 81, 0, 1
Luminance
0.1975

Every format

HEX#bc2ffc
RGBrgb(188, 47, 252)
HSLhsl(281, 97%, 59%)
CMYKcmyk(25%, 81%, 0%, 1%)
LABlab(51.6 81.4 -73.8)
LCHlch(51.6 109.9 317.8)
OKLCHoklch(0.620 0.281 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2ffc on white: 4.24:1
AA ✗ fail · AA-large · AAA
Aa
#bc2ffc on black: 4.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green18.4%
Blue98.8%

CMYK percentages

Cyan25.4%
Magenta81.3%
Yellow0.0%
Key (black)1.2%

Color previews

#bc2ffc text on a black background

contrast 4.95:1

Card sample

#bc2ffc text on a white background

contrast 4.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2ffc in the Color Lab