Skip to content

#bc2ffd

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

RGB
188, 47, 253
HSL
281°, 98%, 59%
CMYK
26, 81, 0, 1
Luminance
0.1982

Every format

HEX#bc2ffd
RGBrgb(188, 47, 253)
HSLhsl(281, 98%, 59%)
CMYKcmyk(26%, 81%, 0%, 1%)
LABlab(51.6 81.6 -74.3)
LCHlch(51.6 110.3 317.7)
OKLCHoklch(0.620 0.282 311.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2ffd on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#bc2ffd on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green18.4%
Blue99.2%

CMYK percentages

Cyan25.7%
Magenta81.4%
Yellow0.0%
Key (black)0.8%

Color previews

#bc2ffd text on a black background

contrast 4.96:1

Card sample

#bc2ffd text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2ffd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2ffd in the Color Lab