Skip to content

#afbadf

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

RGB
175, 186, 223
HSL
226°, 43%, 78%
CMYK
22, 17, 0, 13
Luminance
0.4956

Every format

HEX#afbadf
RGBrgb(175, 186, 223)
HSLhsl(226, 43%, 78%)
CMYKcmyk(22%, 17%, 0%, 13%)
LABlab(75.8 4.0 -19.8)
LCHlch(75.8 20.2 281.5)
OKLCHoklch(0.793 0.054 272.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbadf on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#afbadf on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta16.6%
Yellow0.0%
Key (black)12.5%

Color previews

#afbadf text on a black background

contrast 10.91:1

Card sample

#afbadf text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbadf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbadf in the Color Lab