Skip to content

#afb6df

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

RGB
175, 182, 223
HSL
231°, 43%, 78%
CMYK
22, 18, 0, 13
Luminance
0.4790

Every format

HEX#afb6df
RGBrgb(175, 182, 223)
HSLhsl(231, 43%, 78%)
CMYKcmyk(22%, 18%, 0%, 13%)
LABlab(74.8 6.2 -21.3)
LCHlch(74.8 22.2 286.2)
OKLCHoklch(0.785 0.059 277.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb6df on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#afb6df on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.4%
Blue87.5%

CMYK percentages

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

Color previews

#afb6df text on a black background

contrast 10.58:1

Card sample

#afb6df text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb6df in the Color Lab