Skip to content

#d1c2df

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

RGB
209, 194, 223
HSL
271°, 31%, 82%
CMYK
6, 13, 0, 13
Luminance
0.5747

Every format

HEX#d1c2df
RGBrgb(209, 194, 223)
HSLhsl(271, 31%, 82%)
CMYKcmyk(6%, 13%, 0%, 13%)
LABlab(80.4 10.6 -12.5)
LCHlch(80.4 16.4 310.2)
OKLCHoklch(0.835 0.043 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1c2df on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#d1c2df on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green76.1%
Blue87.5%

CMYK percentages

Cyan6.3%
Magenta13.0%
Yellow0.0%
Key (black)12.5%

Color previews

#d1c2df text on a black background

contrast 12.49:1

Card sample

#d1c2df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1c2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1c2df in the Color Lab