Skip to content

#bba2fd

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

RGB
187, 162, 253
HSL
257°, 96%, 81%
CMYK
26, 36, 0, 1
Luminance
0.4350

Every format

HEX#bba2fd
RGBrgb(187, 162, 253)
HSLhsl(257, 96%, 81%)
CMYKcmyk(26%, 36%, 0%, 1%)
LABlab(71.9 27.8 -42.0)
LCHlch(71.9 50.4 303.5)
OKLCHoklch(0.769 0.130 295.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green63.5%
Blue99.2%

CMYK percentages

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

Color previews

#bba2fd text on a black background

contrast 9.70:1

Card sample

#bba2fd text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba2fd in the Color Lab