Skip to content

#b3afdf

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

RGB
179, 175, 223
HSL
245°, 43%, 78%
CMYK
20, 22, 0, 13
Luminance
0.4557

Every format

HEX#b3afdf
RGBrgb(179, 175, 223)
HSLhsl(245, 43%, 78%)
CMYKcmyk(20%, 22%, 0%, 13%)
LABlab(73.3 11.3 -23.6)
LCHlch(73.3 26.1 295.6)
OKLCHoklch(0.774 0.068 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3afdf on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#b3afdf on black: 10.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green68.6%
Blue87.5%

CMYK percentages

Cyan19.7%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#b3afdf text on a black background

contrast 10.11:1

Card sample

#b3afdf text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3afdf in the Color Lab