Skip to content

#bc2af0

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

RGB
188, 42, 240
HSL
284°, 87%, 55%
CMYK
22, 83, 0, 6
Luminance
0.1864

Every format

HEX#bc2af0
RGBrgb(188, 42, 240)
HSLhsl(284, 87%, 55%)
CMYKcmyk(22%, 83%, 0%, 6%)
LABlab(50.3 80.4 -69.2)
LCHlch(50.3 106.1 319.3)
OKLCHoklch(0.608 0.275 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc2af0 on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#bc2af0 on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green16.5%
Blue94.1%

CMYK percentages

Cyan21.7%
Magenta82.5%
Yellow0.0%
Key (black)5.9%

Color previews

#bc2af0 text on a black background

contrast 4.73:1

Card sample

#bc2af0 text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc2af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc2af0 in the Color Lab