Skip to content

#bba6eb

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

RGB
187, 166, 235
HSL
258°, 63%, 79%
CMYK
20, 29, 0, 8
Luminance
0.4384

Every format

HEX#bba6eb
RGBrgb(187, 166, 235)
HSLhsl(258, 63%, 79%)
CMYKcmyk(20%, 29%, 0%, 8%)
LABlab(72.1 21.4 -31.8)
LCHlch(72.1 38.4 304.0)
OKLCHoklch(0.768 0.099 298.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba6eb on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#bba6eb on black: 9.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green65.1%
Blue92.2%

CMYK percentages

Cyan20.4%
Magenta29.4%
Yellow0.0%
Key (black)7.8%

Color previews

#bba6eb text on a black background

contrast 9.77:1

Card sample

#bba6eb text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 166, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 166, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba6eb;
background: linear-gradient(135deg, #bba6eb, #E9A6EB);

Monochromatic scale

Palettes built from #bba6eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba6eb in the Color Lab