Skip to content

#afabdb

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

RGB
175, 171, 219
HSL
245°, 40%, 77%
CMYK
20, 22, 0, 14
Luminance
0.4335

Every format

HEX#afabdb
RGBrgb(175, 171, 219)
HSLhsl(245, 40%, 77%)
CMYKcmyk(20%, 22%, 0%, 14%)
LABlab(71.8 11.3 -23.7)
LCHlch(71.8 26.3 295.6)
OKLCHoklch(0.761 0.068 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green67.1%
Blue85.9%

CMYK percentages

Cyan20.1%
Magenta21.9%
Yellow0.0%
Key (black)14.1%

Color previews

#afabdb text on a black background

contrast 9.67:1

Card sample

#afabdb text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afabdb in the Color Lab