Skip to content

#bc2df7

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

RGB
188, 45, 247
HSL
283°, 93%, 57%
CMYK
24, 82, 0, 3
Luminance
0.1928

Every format

HEX#bc2df7
RGBrgb(188, 45, 247)
HSLhsl(283, 93%, 57%)
CMYKcmyk(24%, 82%, 0%, 3%)
LABlab(51.0 81.0 -71.9)
LCHlch(51.0 108.3 318.4)
OKLCHoklch(0.615 0.278 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2df7 on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#bc2df7 on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green17.6%
Blue96.9%

CMYK percentages

Cyan23.9%
Magenta81.8%
Yellow0.0%
Key (black)3.1%

Color previews

#bc2df7 text on a black background

contrast 4.86:1

Card sample

#bc2df7 text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2df7 in the Color Lab