Skip to content

#dcd1f2

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

RGB
220, 209, 242
HSL
260°, 56%, 88%
CMYK
9, 14, 0, 5
Luminance
0.6723

Every format

HEX#dcd1f2
RGBrgb(220, 209, 242)
HSLhsl(260, 56%, 88%)
CMYKcmyk(9%, 14%, 0%, 5%)
LABlab(85.6 9.9 -14.8)
LCHlch(85.6 17.8 303.8)
OKLCHoklch(0.880 0.046 300.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd1f2 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#dcd1f2 on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green82.0%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta13.6%
Yellow0.0%
Key (black)5.1%

Color previews

#dcd1f2 text on a black background

contrast 14.45:1

Card sample

#dcd1f2 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd1f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd1f2 in the Color Lab