Skip to content

#bc9af0

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

RGB
188, 154, 240
HSL
264°, 74%, 77%
CMYK
22, 36, 0, 6
Luminance
0.4009

Every format

HEX#bc9af0
RGBrgb(188, 154, 240)
HSLhsl(264, 74%, 77%)
CMYKcmyk(22%, 36%, 0%, 6%)
LABlab(69.5 29.5 -38.6)
LCHlch(69.5 48.6 307.5)
OKLCHoklch(0.749 0.126 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.7%
Green60.4%
Blue94.1%

CMYK percentages

Cyan21.7%
Magenta35.8%
Yellow0.0%
Key (black)5.9%

Color previews

#bc9af0 text on a black background

contrast 9.02:1

Card sample

#bc9af0 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bc9af0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bc9af0 in the Color Lab