Skip to content

#afaaec

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

RGB
175, 170, 236
HSL
245°, 64%, 80%
CMYK
26, 28, 0, 8
Luminance
0.4392

Every format

HEX#afaaec
RGBrgb(175, 170, 236)
HSLhsl(245, 64%, 80%)
CMYKcmyk(26%, 28%, 0%, 8%)
LABlab(72.2 15.9 -32.4)
LCHlch(72.2 36.0 296.1)
OKLCHoklch(0.766 0.094 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaaec on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#afaaec on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue92.5%

CMYK percentages

Cyan25.8%
Magenta28.0%
Yellow0.0%
Key (black)7.5%

Color previews

#afaaec text on a black background

contrast 9.78:1

Card sample

#afaaec text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afaaec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaaec in the Color Lab