Skip to content

#afbade

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

RGB
175, 186, 222
HSL
226°, 42%, 78%
CMYK
21, 16, 0, 13
Luminance
0.4951

Every format

HEX#afbade
RGBrgb(175, 186, 222)
HSLhsl(226, 42%, 78%)
CMYKcmyk(21%, 16%, 0%, 13%)
LABlab(75.8 3.8 -19.3)
LCHlch(75.8 19.6 281.1)
OKLCHoklch(0.792 0.053 271.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green72.9%
Blue87.1%

CMYK percentages

Cyan21.2%
Magenta16.2%
Yellow0.0%
Key (black)12.9%

Color previews

#afbade text on a black background

contrast 10.90:1

Card sample

#afbade text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbade

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbade in the Color Lab