Skip to content

#bc9af4

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

RGB
188, 154, 244
HSL
263°, 80%, 78%
CMYK
23, 37, 0, 4
Luminance
0.4033

Every format

HEX#bc9af4
RGBrgb(188, 154, 244)
HSLhsl(263, 80%, 78%)
CMYKcmyk(23%, 37%, 0%, 4%)
LABlab(69.7 30.4 -40.5)
LCHlch(69.7 50.6 307.0)
OKLCHoklch(0.751 0.131 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9af4 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#bc9af4 on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green60.4%
Blue95.7%

CMYK percentages

Cyan23.0%
Magenta36.9%
Yellow0.0%
Key (black)4.3%

Color previews

#bc9af4 text on a black background

contrast 9.07:1

Card sample

#bc9af4 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9af4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9af4 in the Color Lab