Skip to content

#bc9afc

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

RGB
188, 154, 252
HSL
261°, 94%, 80%
CMYK
25, 39, 0, 1
Luminance
0.4083

Every format

HEX#bc9afc
RGBrgb(188, 154, 252)
HSLhsl(261, 94%, 80%)
CMYKcmyk(25%, 39%, 0%, 1%)
LABlab(70.1 32.3 -44.3)
LCHlch(70.1 54.8 306.1)
OKLCHoklch(0.755 0.141 299.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan25.4%
Magenta38.9%
Yellow0.0%
Key (black)1.2%

Color previews

#bc9afc text on a black background

contrast 9.17:1

Card sample

#bc9afc text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9afc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9afc in the Color Lab