Skip to content

#bba0fd

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

RGB
187, 160, 253
HSL
257°, 96%, 81%
CMYK
26, 37, 0, 1
Luminance
0.4280

Every format

HEX#bba0fd
RGBrgb(187, 160, 253)
HSLhsl(257, 96%, 81%)
CMYKcmyk(26%, 37%, 0%, 1%)
LABlab(71.4 28.9 -42.7)
LCHlch(71.4 51.6 304.1)
OKLCHoklch(0.765 0.133 296.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green62.7%
Blue99.2%

CMYK percentages

Cyan26.1%
Magenta36.8%
Yellow0.0%
Key (black)0.8%

Color previews

#bba0fd text on a black background

contrast 9.56:1

Card sample

#bba0fd text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba0fd in the Color Lab