Skip to content

#bba2ff

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

RGB
187, 162, 255
HSL
256°, 100%, 82%
CMYK
27, 37, 0, 0
Luminance
0.4363

Every format

HEX#bba2ff
RGBrgb(187, 162, 255)
HSLhsl(256, 100%, 82%)
CMYKcmyk(27%, 37%, 0%, 0%)
LABlab(72.0 28.3 -42.9)
LCHlch(72.0 51.4 303.4)
OKLCHoklch(0.770 0.132 295.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba2ff on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#bba2ff on black: 9.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green63.5%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta36.5%
Yellow0.0%
Key (black)0.0%

Color previews

#bba2ff text on a black background

contrast 9.73:1

Card sample

#bba2ff text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba2ff in the Color Lab