Skip to content

#afbadd

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

RGB
175, 186, 221
HSL
226°, 40%, 78%
CMYK
21, 16, 0, 13
Luminance
0.4945

Every format

HEX#afbadd
RGBrgb(175, 186, 221)
HSLhsl(226, 40%, 78%)
CMYKcmyk(21%, 16%, 0%, 13%)
LABlab(75.7 3.6 -18.8)
LCHlch(75.7 19.1 280.8)
OKLCHoklch(0.792 0.051 271.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbadd on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#afbadd on black: 10.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue86.7%

CMYK percentages

Cyan20.8%
Magenta15.8%
Yellow0.0%
Key (black)13.3%

Color previews

#afbadd text on a black background

contrast 10.89:1

Card sample

#afbadd text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbadd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbadd in the Color Lab