Skip to content

#bc3af0

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

RGB
188, 58, 240
HSL
283°, 86%, 58%
CMYK
22, 76, 0, 6
Luminance
0.2001

Every format

HEX#bc3af0
RGBrgb(188, 58, 240)
HSLhsl(283, 86%, 58%)
CMYKcmyk(22%, 76%, 0%, 6%)
LABlab(51.9 75.8 -66.7)
LCHlch(51.9 101.0 318.7)
OKLCHoklch(0.619 0.262 313.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc3af0 on white: 4.20:1
AA ✗ fail · AA-large · AAA
Aa
#bc3af0 on black: 5.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green22.7%
Blue94.1%

CMYK percentages

Cyan21.7%
Magenta75.8%
Yellow0.0%
Key (black)5.9%

Color previews

#bc3af0 text on a black background

contrast 5.00:1

Card sample

#bc3af0 text on a white background

contrast 4.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc3af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc3af0 in the Color Lab