Skip to content

#afb3df

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

RGB
175, 179, 223
HSL
235°, 43%, 78%
CMYK
22, 20, 0, 13
Luminance
0.4668

Every format

HEX#afb3df
RGBrgb(175, 179, 223)
HSLhsl(235, 43%, 78%)
CMYKcmyk(22%, 20%, 0%, 13%)
LABlab(74.0 7.8 -22.5)
LCHlch(74.0 23.9 289.2)
OKLCHoklch(0.779 0.063 280.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb3df on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#afb3df on black: 10.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#afb3df text on a black background

contrast 10.34:1

Card sample

#afb3df text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb3df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb3df in the Color Lab