Skip to content

#afacef

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

RGB
175, 172, 239
HSL
243°, 68%, 81%
CMYK
27, 28, 0, 6
Luminance
0.4485

Every format

HEX#afacef
RGBrgb(175, 172, 239)
HSLhsl(243, 68%, 81%)
CMYKcmyk(27%, 28%, 0%, 6%)
LABlab(72.8 15.5 -33.0)
LCHlch(72.8 36.5 295.1)
OKLCHoklch(0.771 0.095 286.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afacef on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#afacef on black: 9.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green67.5%
Blue93.7%

CMYK percentages

Cyan26.8%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#afacef text on a black background

contrast 9.97:1

Card sample

#afacef text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afacef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afacef in the Color Lab