Skip to content

#afb1db

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

RGB
175, 177, 219
HSL
237°, 38%, 77%
CMYK
20, 19, 0, 14
Luminance
0.4567

Every format

HEX#afb1db
RGBrgb(175, 177, 219)
HSLhsl(237, 38%, 77%)
CMYKcmyk(20%, 19%, 0%, 14%)
LABlab(73.3 8.0 -21.3)
LCHlch(73.3 22.8 290.6)
OKLCHoklch(0.773 0.060 282.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb1db on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#afb1db on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.4%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta19.2%
Yellow0.0%
Key (black)14.1%

Color previews

#afb1db text on a black background

contrast 10.13:1

Card sample

#afb1db text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb1db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb1db in the Color Lab