Skip to content

#bba2ee

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

RGB
187, 162, 238
HSL
260°, 69%, 78%
CMYK
21, 32, 0, 7
Luminance
0.4258

Every format

HEX#bba2ee
RGBrgb(187, 162, 238)
HSLhsl(260, 69%, 78%)
CMYKcmyk(21%, 32%, 0%, 7%)
LABlab(71.3 24.3 -34.8)
LCHlch(71.3 42.5 305.0)
OKLCHoklch(0.762 0.110 298.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba2ee on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#bba2ee on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green63.5%
Blue93.3%

CMYK percentages

Cyan21.4%
Magenta31.9%
Yellow0.0%
Key (black)6.7%

Color previews

#bba2ee text on a black background

contrast 9.52:1

Card sample

#bba2ee text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba2ee in the Color Lab