Skip to content

#bc9cfb

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

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

Every format

HEX#bc9cfb
RGBrgb(188, 156, 251)
HSLhsl(260, 92%, 80%)
CMYKcmyk(25%, 38%, 0%, 2%)
LABlab(70.5 31.0 -43.1)
LCHlch(70.5 53.1 305.7)
OKLCHoklch(0.758 0.137 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9cfb on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#bc9cfb on black: 9.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.2%
Blue98.4%

CMYK percentages

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

Color previews

#bc9cfb text on a black background

contrast 9.29:1

Card sample

#bc9cfb text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9cfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9cfb in the Color Lab