Skip to content

#b3afd2

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

RGB
179, 175, 210
HSL
247°, 28%, 76%
CMYK
15, 17, 0, 18
Luminance
0.4490

Every format

HEX#b3afd2
RGBrgb(179, 175, 210)
HSLhsl(247, 28%, 76%)
CMYKcmyk(15%, 17%, 0%, 18%)
LABlab(72.8 8.4 -17.2)
LCHlch(72.8 19.1 296.1)
OKLCHoklch(0.769 0.050 290.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3afd2 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#b3afd2 on black: 9.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green68.6%
Blue82.4%

CMYK percentages

Cyan14.8%
Magenta16.7%
Yellow0.0%
Key (black)17.6%

Color previews

#b3afd2 text on a black background

contrast 9.98:1

Card sample

#b3afd2 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3afd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3afd2 in the Color Lab