Skip to content

#b2afd2

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

RGB
178, 175, 210
HSL
245°, 28%, 76%
CMYK
15, 17, 0, 18
Luminance
0.4478

Every format

HEX#b2afd2
RGBrgb(178, 175, 210)
HSLhsl(245, 28%, 76%)
CMYKcmyk(15%, 17%, 0%, 18%)
LABlab(72.8 8.1 -17.3)
LCHlch(72.8 19.1 295.1)
OKLCHoklch(0.768 0.050 289.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green68.6%
Blue82.4%

CMYK percentages

Cyan15.2%
Magenta16.7%
Yellow0.0%
Key (black)17.6%

Color previews

#b2afd2 text on a black background

contrast 9.96:1

Card sample

#b2afd2 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2afd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2afd2 in the Color Lab