Skip to content

#afb6db

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

RGB
175, 182, 219
HSL
231°, 38%, 77%
CMYK
20, 17, 0, 14
Luminance
0.4768

Every format

HEX#afb6db
RGBrgb(175, 182, 219)
HSLhsl(231, 38%, 77%)
CMYKcmyk(20%, 17%, 0%, 14%)
LABlab(74.6 5.3 -19.4)
LCHlch(74.6 20.1 285.3)
OKLCHoklch(0.783 0.053 276.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb6db on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#afb6db on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green71.4%
Blue85.9%

CMYK percentages

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

Color previews

#afb6db text on a black background

contrast 10.54:1

Card sample

#afb6db text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb6db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb6db in the Color Lab