Skip to content

#bba4ff

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

RGB
187, 164, 255
HSL
255°, 100%, 82%
CMYK
27, 36, 0, 0
Luminance
0.4434

Every format

HEX#bba4ff
RGBrgb(187, 164, 255)
HSLhsl(255, 100%, 82%)
CMYKcmyk(27%, 36%, 0%, 0%)
LABlab(72.5 27.2 -42.2)
LCHlch(72.5 50.2 302.8)
OKLCHoklch(0.773 0.129 294.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba4ff on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#bba4ff on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green64.3%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta35.7%
Yellow0.0%
Key (black)0.0%

Color previews

#bba4ff text on a black background

contrast 9.87:1

Card sample

#bba4ff text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba4ff in the Color Lab