Skip to content

#bba0ff

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

RGB
187, 160, 255
HSL
257°, 100%, 81%
CMYK
27, 37, 0, 0
Luminance
0.4293

Every format

HEX#bba0ff
RGBrgb(187, 160, 255)
HSLhsl(257, 100%, 81%)
CMYKcmyk(27%, 37%, 0%, 0%)
LABlab(71.5 29.4 -43.6)
LCHlch(71.5 52.6 304.0)
OKLCHoklch(0.766 0.136 296.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba0ff on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#bba0ff on black: 9.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green62.7%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta37.3%
Yellow0.0%
Key (black)0.0%

Color previews

#bba0ff text on a black background

contrast 9.59:1

Card sample

#bba0ff text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bba0ff in the Color Lab