Skip to content

#afabdc

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

RGB
175, 171, 220
HSL
245°, 41%, 77%
CMYK
21, 22, 0, 14
Luminance
0.4341

Every format

HEX#afabdc
RGBrgb(175, 171, 220)
HSLhsl(245, 41%, 77%)
CMYKcmyk(21%, 22%, 0%, 14%)
LABlab(71.8 11.6 -24.2)
LCHlch(71.8 26.8 295.6)
OKLCHoklch(0.761 0.070 288.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afabdc on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#afabdc on black: 9.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.1%
Blue86.3%

CMYK percentages

Cyan20.5%
Magenta22.3%
Yellow0.0%
Key (black)13.7%

Color previews

#afabdc text on a black background

contrast 9.68:1

Card sample

#afabdc text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afabdc in the Color Lab