Skip to content

#afb7db

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

RGB
175, 183, 219
HSL
229°, 38%, 77%
CMYK
20, 16, 0, 14
Luminance
0.4810

Every format

HEX#afb7db
RGBrgb(175, 183, 219)
HSLhsl(229, 38%, 77%)
CMYKcmyk(20%, 16%, 0%, 14%)
LABlab(74.9 4.8 -19.0)
LCHlch(74.9 19.6 284.1)
OKLCHoklch(0.785 0.052 275.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green71.8%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta16.4%
Yellow0.0%
Key (black)14.1%

Color previews

#afb7db text on a black background

contrast 10.62:1

Card sample

#afb7db text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb7db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb7db in the Color Lab