Skip to content

#bc2cf9

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

RGB
188, 44, 249
HSL
282°, 95%, 58%
CMYK
25, 82, 0, 2
Luminance
0.1933

Every format

HEX#bc2cf9
RGBrgb(188, 44, 249)
HSLhsl(282, 95%, 58%)
CMYKcmyk(25%, 82%, 0%, 2%)
LABlab(51.1 81.6 -73.0)
LCHlch(51.1 109.5 318.2)
OKLCHoklch(0.615 0.281 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green17.3%
Blue97.6%

CMYK percentages

Cyan24.5%
Magenta82.3%
Yellow0.0%
Key (black)2.4%

Color previews

#bc2cf9 text on a black background

contrast 4.87:1

Card sample

#bc2cf9 text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2cf9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2cf9 in the Color Lab