Skip to content

#afabdf

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

RGB
175, 171, 223
HSL
245°, 45%, 77%
CMYK
22, 23, 0, 13
Luminance
0.4357

Every format

HEX#afabdf
RGBrgb(175, 171, 223)
HSLhsl(245, 45%, 77%)
CMYKcmyk(22%, 23%, 0%, 13%)
LABlab(71.9 12.3 -25.6)
LCHlch(71.9 28.4 295.6)
OKLCHoklch(0.763 0.074 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afabdf on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#afabdf on black: 9.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.1%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta23.3%
Yellow0.0%
Key (black)12.5%

Color previews

#afabdf text on a black background

contrast 9.71:1

Card sample

#afabdf text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afabdf in the Color Lab