Skip to content

#bc9af1

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

RGB
188, 154, 241
HSL
263°, 76%, 78%
CMYK
22, 36, 0, 6
Luminance
0.4015

Every format

HEX#bc9af1
RGBrgb(188, 154, 241)
HSLhsl(263, 76%, 78%)
CMYKcmyk(22%, 36%, 0%, 6%)
LABlab(69.6 29.8 -39.0)
LCHlch(69.6 49.1 307.3)
OKLCHoklch(0.750 0.127 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9af1 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#bc9af1 on black: 9.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green60.4%
Blue94.5%

CMYK percentages

Cyan22.0%
Magenta36.1%
Yellow0.0%
Key (black)5.5%

Color previews

#bc9af1 text on a black background

contrast 9.03:1

Card sample

#bc9af1 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9af1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9af1 in the Color Lab