Skip to content

#cfc9df

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

RGB
207, 201, 223
HSL
256°, 26%, 83%
CMYK
7, 10, 0, 13
Luminance
0.6037

Every format

HEX#cfc9df
RGBrgb(207, 201, 223)
HSLhsl(256, 26%, 83%)
CMYKcmyk(7%, 10%, 0%, 13%)
LABlab(82.0 6.2 -10.2)
LCHlch(82.0 11.9 301.4)
OKLCHoklch(0.848 0.031 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green78.8%
Blue87.5%

CMYK percentages

Cyan7.2%
Magenta9.9%
Yellow0.0%
Key (black)12.5%

Color previews

#cfc9df text on a black background

contrast 13.07:1

Card sample

#cfc9df text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfc9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfc9df in the Color Lab