Skip to content

#bab6ff

a pale, electric blue · warm · closest name: plum

RGB
186, 182, 255
HSL
243°, 100%, 86%
CMYK
27, 29, 0, 0
Luminance
0.5112

Every format

HEX#bab6ff
RGBrgb(186, 182, 255)
HSLhsl(243, 100%, 86%)
CMYKcmyk(27%, 29%, 0%, 0%)
LABlab(76.8 16.9 -35.5)
LCHlch(76.8 39.3 295.5)
OKLCHoklch(0.806 0.102 286.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab6ff on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#bab6ff on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.4%
Blue100.0%

CMYK percentages

Cyan27.1%
Magenta28.6%
Yellow0.0%
Key (black)0.0%

Color previews

#bab6ff text on a black background

contrast 11.22:1

Card sample

#bab6ff text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab6ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab6ff in the Color Lab