Skip to content

#bba8cb

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

RGB
187, 168, 203
HSL
273°, 25%, 73%
CMYK
8, 17, 0, 20
Luminance
0.4288

Every format

HEX#bba8cb
RGBrgb(187, 168, 203)
HSLhsl(273, 25%, 73%)
CMYKcmyk(8%, 17%, 0%, 20%)
LABlab(71.5 13.4 -15.3)
LCHlch(71.5 20.4 311.3)
OKLCHoklch(0.759 0.053 309.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba8cb on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#bba8cb on black: 9.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green65.9%
Blue79.6%

CMYK percentages

Cyan7.9%
Magenta17.2%
Yellow0.0%
Key (black)20.4%

Color previews

#bba8cb text on a black background

contrast 9.58:1

Card sample

#bba8cb text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba8cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba8cb in the Color Lab