Skip to content

#b3afd0

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

RGB
179, 175, 208
HSL
247°, 26%, 75%
CMYK
14, 16, 0, 18
Luminance
0.4480

Every format

HEX#b3afd0
RGBrgb(179, 175, 208)
HSLhsl(247, 26%, 75%)
CMYKcmyk(14%, 16%, 0%, 18%)
LABlab(72.8 8.0 -16.2)
LCHlch(72.8 18.0 296.3)
OKLCHoklch(0.768 0.047 290.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3afd0 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#b3afd0 on black: 9.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green68.6%
Blue81.6%

CMYK percentages

Cyan13.9%
Magenta15.9%
Yellow0.0%
Key (black)18.4%

Color previews

#b3afd0 text on a black background

contrast 9.96:1

Card sample

#b3afd0 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3afd0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3afd0 in the Color Lab