Skip to content

#bba4fc

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

RGB
187, 164, 252
HSL
256°, 94%, 82%
CMYK
26, 35, 0, 1
Luminance
0.4414

Every format

HEX#bba4fc
RGBrgb(187, 164, 252)
HSLhsl(256, 94%, 82%)
CMYKcmyk(26%, 35%, 0%, 1%)
LABlab(72.3 26.5 -40.8)
LCHlch(72.3 48.6 303.0)
OKLCHoklch(0.772 0.125 295.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba4fc on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#bba4fc on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green64.3%
Blue98.8%

CMYK percentages

Cyan25.8%
Magenta34.9%
Yellow0.0%
Key (black)1.2%

Color previews

#bba4fc text on a black background

contrast 9.83:1

Card sample

#bba4fc text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba4fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba4fc in the Color Lab