Skip to content

#afb4db

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

RGB
175, 180, 219
HSL
233°, 38%, 77%
CMYK
20, 18, 0, 14
Luminance
0.4687

Every format

HEX#afb4db
RGBrgb(175, 180, 219)
HSLhsl(233, 38%, 77%)
CMYKcmyk(20%, 18%, 0%, 14%)
LABlab(74.1 6.4 -20.2)
LCHlch(74.1 21.1 287.6)
OKLCHoklch(0.779 0.056 279.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb4db on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#afb4db on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green70.6%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta17.8%
Yellow0.0%
Key (black)14.1%

Color previews

#afb4db text on a black background

contrast 10.37:1

Card sample

#afb4db text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4db in the Color Lab