Skip to content

#b3a5df

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

RGB
179, 165, 223
HSL
255°, 48%, 76%
CMYK
20, 26, 0, 13
Luminance
0.4182

Every format

HEX#b3a5df
RGBrgb(179, 165, 223)
HSLhsl(255, 48%, 76%)
CMYKcmyk(20%, 26%, 0%, 13%)
LABlab(70.8 16.8 -27.4)
LCHlch(70.8 32.2 301.5)
OKLCHoklch(0.754 0.083 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3a5df on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#b3a5df on black: 9.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green64.7%
Blue87.5%

CMYK percentages

Cyan19.7%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#b3a5df text on a black background

contrast 9.36:1

Card sample

#b3a5df text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3a5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3a5df in the Color Lab