Skip to content

#afb4df

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

RGB
175, 180, 223
HSL
234°, 43%, 78%
CMYK
22, 19, 0, 13
Luminance
0.4708

Every format

HEX#afb4df
RGBrgb(175, 180, 223)
HSLhsl(234, 43%, 78%)
CMYKcmyk(22%, 19%, 0%, 13%)
LABlab(74.2 7.3 -22.1)
LCHlch(74.2 23.3 288.2)
OKLCHoklch(0.781 0.061 279.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4df on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#afb4df on black: 10.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta19.3%
Yellow0.0%
Key (black)12.5%

Color previews

#afb4df text on a black background

contrast 10.42:1

Card sample

#afb4df text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4df in the Color Lab