Skip to content

#bba5eb

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

RGB
187, 165, 235
HSL
259°, 64%, 78%
CMYK
20, 30, 0, 8
Luminance
0.4347

Every format

HEX#bba5eb
RGBrgb(187, 165, 235)
HSLhsl(259, 64%, 78%)
CMYKcmyk(20%, 30%, 0%, 8%)
LABlab(71.9 22.0 -32.2)
LCHlch(71.9 39.0 304.3)
OKLCHoklch(0.766 0.101 298.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba5eb on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#bba5eb on black: 9.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green64.7%
Blue92.2%

CMYK percentages

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

Color previews

#bba5eb text on a black background

contrast 9.69:1

Card sample

#bba5eb text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba5eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba5eb in the Color Lab