Skip to content

#b9a2df

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

RGB
185, 162, 223
HSL
263°, 49%, 76%
CMYK
17, 27, 0, 13
Luminance
0.4148

Every format

HEX#b9a2df
RGBrgb(185, 162, 223)
HSLhsl(263, 49%, 76%)
CMYKcmyk(17%, 27%, 0%, 13%)
LABlab(70.5 20.4 -27.8)
LCHlch(70.5 34.4 306.3)
OKLCHoklch(0.754 0.089 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9a2df on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#b9a2df on black: 9.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green63.5%
Blue87.5%

CMYK percentages

Cyan17.0%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#b9a2df text on a black background

contrast 9.30:1

Card sample

#b9a2df text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9a2df in the Color Lab