Skip to content

#dcd3f1

a pale, vivid violet · warm · closest name: lavender

RGB
220, 211, 241
HSL
258°, 52%, 89%
CMYK
9, 12, 0, 6
Luminance
0.6816

Every format

HEX#dcd3f1
RGBrgb(220, 211, 241)
HSLhsl(258, 52%, 89%)
CMYKcmyk(9%, 12%, 0%, 6%)
LABlab(86.1 8.7 -13.6)
LCHlch(86.1 16.1 302.6)
OKLCHoklch(0.883 0.042 299.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd3f1 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dcd3f1 on black: 14.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green82.7%
Blue94.5%

CMYK percentages

Cyan8.7%
Magenta12.4%
Yellow0.0%
Key (black)5.5%

Color previews

#dcd3f1 text on a black background

contrast 14.63:1

Card sample

#dcd3f1 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 211, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 211, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcd3f1;
background: linear-gradient(135deg, #dcd3f1, #F0D3F1);

Monochromatic scale

Palettes built from #dcd3f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd3f1 in the Color Lab