Skip to content

#afb2df

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

RGB
175, 178, 223
HSL
236°, 43%, 78%
CMYK
22, 20, 0, 13
Luminance
0.4628

Every format

HEX#afb2df
RGBrgb(175, 178, 223)
HSLhsl(236, 43%, 78%)
CMYKcmyk(22%, 20%, 0%, 13%)
LABlab(73.7 8.4 -22.9)
LCHlch(73.7 24.4 290.1)
OKLCHoklch(0.777 0.064 281.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb2df on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#afb2df on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.8%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#afb2df text on a black background

contrast 10.26:1

Card sample

#afb2df text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb2df in the Color Lab