Skip to content

#bc9afb

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

RGB
188, 154, 251
HSL
261°, 92%, 79%
CMYK
25, 39, 0, 2
Luminance
0.4077

Every format

HEX#bc9afb
RGBrgb(188, 154, 251)
HSLhsl(261, 92%, 79%)
CMYKcmyk(25%, 39%, 0%, 2%)
LABlab(70.0 32.1 -43.8)
LCHlch(70.0 54.3 306.2)
OKLCHoklch(0.754 0.140 299.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9afb on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#bc9afb on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green60.4%
Blue98.4%

CMYK percentages

Cyan25.1%
Magenta38.6%
Yellow0.0%
Key (black)1.6%

Color previews

#bc9afb text on a black background

contrast 9.15:1

Card sample

#bc9afb text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9afb in the Color Lab