Skip to content

#bba5df

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

RGB
187, 165, 223
HSL
263°, 48%, 76%
CMYK
16, 26, 0, 13
Luminance
0.4280

Every format

HEX#bba5df
RGBrgb(187, 165, 223)
HSLhsl(263, 48%, 76%)
CMYKcmyk(16%, 26%, 0%, 13%)
LABlab(71.4 19.3 -26.4)
LCHlch(71.4 32.7 306.2)
OKLCHoklch(0.761 0.085 301.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba5df on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#bba5df on black: 9.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green64.7%
Blue87.5%

CMYK percentages

Cyan16.1%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#bba5df text on a black background

contrast 9.56:1

Card sample

#bba5df text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba5df in the Color Lab