Skip to content

#baa4df

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

RGB
186, 164, 223
HSL
262°, 48%, 76%
CMYK
17, 27, 0, 13
Luminance
0.4232

Every format

HEX#baa4df
RGBrgb(186, 164, 223)
HSLhsl(262, 48%, 76%)
CMYKcmyk(17%, 27%, 0%, 13%)
LABlab(71.1 19.6 -26.9)
LCHlch(71.1 33.2 306.1)
OKLCHoklch(0.758 0.086 301.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baa4df on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#baa4df on black: 9.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green64.3%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta26.5%
Yellow0.0%
Key (black)12.5%

Color previews

#baa4df text on a black background

contrast 9.46:1

Card sample

#baa4df text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baa4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baa4df in the Color Lab