Skip to content

#afabec

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

RGB
175, 171, 236
HSL
244°, 63%, 80%
CMYK
26, 28, 0, 8
Luminance
0.4430

Every format

HEX#afabec
RGBrgb(175, 171, 236)
HSLhsl(244, 63%, 80%)
CMYKcmyk(26%, 28%, 0%, 8%)
LABlab(72.4 15.3 -32.0)
LCHlch(72.4 35.5 295.6)
OKLCHoklch(0.768 0.092 286.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afabec on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#afabec on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.1%
Blue92.5%

CMYK percentages

Cyan25.8%
Magenta27.5%
Yellow0.0%
Key (black)7.5%

Color previews

#afabec text on a black background

contrast 9.86:1

Card sample

#afabec text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afabec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afabec in the Color Lab