Skip to content

#af9db4

a light, muted violet · warm · closest name: silver

RGB
175, 157, 180
HSL
287°, 13%, 66%
CMYK
3, 13, 0, 29
Luminance
0.3652

Every format

HEX#af9db4
RGBrgb(175, 157, 180)
HSLhsl(287, 13%, 66%)
CMYKcmyk(3%, 13%, 0%, 29%)
LABlab(66.9 10.8 -9.5)
LCHlch(66.9 14.4 318.8)
OKLCHoklch(0.719 0.039 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9db4 on white: 2.53:1
AA ✗ fail · AA-large · AAA
Aa
#af9db4 on black: 8.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green61.6%
Blue70.6%

CMYK percentages

Cyan2.8%
Magenta12.8%
Yellow0.0%
Key (black)29.4%

Color previews

#af9db4 text on a black background

contrast 8.30:1

Card sample

#af9db4 text on a white background

contrast 2.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af9db4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9db4 in the Color Lab