Skip to content

#afb0df

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

RGB
175, 176, 223
HSL
239°, 43%, 78%
CMYK
22, 21, 0, 13
Luminance
0.4549

Every format

HEX#afb0df
RGBrgb(175, 176, 223)
HSLhsl(239, 43%, 78%)
CMYKcmyk(22%, 21%, 0%, 13%)
LABlab(73.2 9.5 -23.7)
LCHlch(73.2 25.5 291.8)
OKLCHoklch(0.773 0.067 283.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb0df on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#afb0df on black: 10.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.0%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta21.1%
Yellow0.0%
Key (black)12.5%

Color previews

#afb0df text on a black background

contrast 10.10:1

Card sample

#afb0df text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afb0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb0df in the Color Lab