Skip to content

#cfc9da

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

RGB
207, 201, 218
HSL
261°, 19%, 82%
CMYK
5, 8, 0, 15
Luminance
0.6010

Every format

HEX#cfc9da
RGBrgb(207, 201, 218)
HSLhsl(261, 19%, 82%)
CMYKcmyk(5%, 8%, 0%, 15%)
LABlab(81.9 5.2 -7.7)
LCHlch(81.9 9.3 304.2)
OKLCHoklch(0.846 0.024 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfc9da on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cfc9da on black: 13.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green78.8%
Blue85.5%

CMYK percentages

Cyan5.0%
Magenta7.8%
Yellow0.0%
Key (black)14.5%

Color previews

#cfc9da text on a black background

contrast 13.02:1

Card sample

#cfc9da text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 201, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 201, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfc9da;
background: linear-gradient(135deg, #cfc9da, #DAC9DA);

Monochromatic scale

Palettes built from #cfc9da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc9da in the Color Lab