Skip to content

#bc9cef

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

RGB
188, 156, 239
HSL
263°, 72%, 78%
CMYK
21, 35, 0, 6
Luminance
0.4070

Every format

HEX#bc9cef
RGBrgb(188, 156, 239)
HSLhsl(263, 72%, 78%)
CMYKcmyk(21%, 35%, 0%, 6%)
LABlab(70.0 28.2 -37.3)
LCHlch(70.0 46.8 307.1)
OKLCHoklch(0.752 0.121 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bc9cef on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#bc9cef on black: 9.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.7%
Green61.2%
Blue93.7%

CMYK percentages

Cyan21.3%
Magenta34.7%
Yellow0.0%
Key (black)6.3%

Color previews

#bc9cef text on a black background

contrast 9.14:1

Card sample

#bc9cef text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9cef in the Color Lab