Skip to content

#afb9df

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

RGB
175, 185, 223
HSL
228°, 43%, 78%
CMYK
22, 17, 0, 13
Luminance
0.4914

Every format

HEX#afb9df
RGBrgb(175, 185, 223)
HSLhsl(228, 43%, 78%)
CMYKcmyk(22%, 17%, 0%, 13%)
LABlab(75.5 4.6 -20.2)
LCHlch(75.5 20.7 282.7)
OKLCHoklch(0.791 0.055 273.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb9df on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#afb9df on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan21.5%
Magenta17.0%
Yellow0.0%
Key (black)12.5%

Color previews

#afb9df text on a black background

contrast 10.83:1

Card sample

#afb9df text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb9df in the Color Lab