Skip to content

#afbadb

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

RGB
175, 186, 219
HSL
225°, 38%, 77%
CMYK
20, 15, 0, 14
Luminance
0.4935

Every format

HEX#afbadb
RGBrgb(175, 186, 219)
HSLhsl(225, 38%, 77%)
CMYKcmyk(20%, 15%, 0%, 14%)
LABlab(75.7 3.1 -17.8)
LCHlch(75.7 18.1 279.9)
OKLCHoklch(0.791 0.049 270.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbadb on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#afbadb on black: 10.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green72.9%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta15.1%
Yellow0.0%
Key (black)14.1%

Color previews

#afbadb text on a black background

contrast 10.87:1

Card sample

#afbadb text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbadb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbadb in the Color Lab