Skip to content

#afb5df

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

RGB
175, 181, 223
HSL
233°, 43%, 78%
CMYK
22, 19, 0, 13
Luminance
0.4749

Every format

HEX#afb5df
RGBrgb(175, 181, 223)
HSLhsl(233, 43%, 78%)
CMYKcmyk(22%, 19%, 0%, 13%)
LABlab(74.5 6.8 -21.7)
LCHlch(74.5 22.8 287.3)
OKLCHoklch(0.783 0.060 278.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb5df on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#afb5df on black: 10.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.0%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta18.8%
Yellow0.0%
Key (black)12.5%

Color previews

#afb5df text on a black background

contrast 10.50:1

Card sample

#afb5df text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb5df in the Color Lab