Skip to content

#bc9dfb

a light, electric violet · warm · closest name: plum

RGB
188, 157, 251
HSL
260°, 92%, 80%
CMYK
25, 38, 0, 2
Luminance
0.4177

Every format

HEX#bc9dfb
RGBrgb(188, 157, 251)
HSLhsl(260, 92%, 80%)
CMYKcmyk(25%, 38%, 0%, 2%)
LABlab(70.7 30.4 -42.7)
LCHlch(70.7 52.4 305.5)
OKLCHoklch(0.760 0.135 298.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9dfb on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#bc9dfb on black: 9.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.6%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta37.5%
Yellow0.0%
Key (black)1.6%

Color previews

#bc9dfb text on a black background

contrast 9.35:1

Card sample

#bc9dfb text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9dfb in the Color Lab