Skip to content

#afb4da

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

RGB
175, 180, 218
HSL
233°, 37%, 77%
CMYK
20, 17, 0, 15
Luminance
0.4682

Every format

HEX#afb4da
RGBrgb(175, 180, 218)
HSLhsl(233, 37%, 77%)
CMYKcmyk(20%, 17%, 0%, 15%)
LABlab(74.1 6.2 -19.7)
LCHlch(74.1 20.6 287.4)
OKLCHoklch(0.779 0.054 279.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green70.6%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta17.4%
Yellow0.0%
Key (black)14.5%

Color previews

#afb4da text on a black background

contrast 10.36:1

Card sample

#afb4da text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb4da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb4da in the Color Lab