Skip to content

#dcd2f8

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

RGB
220, 210, 248
HSL
256°, 73%, 90%
CMYK
11, 15, 0, 3
Luminance
0.6809

Every format

HEX#dcd2f8
RGBrgb(220, 210, 248)
HSLhsl(256, 73%, 90%)
CMYKcmyk(11%, 15%, 0%, 3%)
LABlab(86.0 10.6 -17.3)
LCHlch(86.0 20.3 301.4)
OKLCHoklch(0.884 0.053 297.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue97.3%

CMYK percentages

Cyan11.3%
Magenta15.3%
Yellow0.0%
Key (black)2.7%

Color previews

#dcd2f8 text on a black background

contrast 14.62:1

Card sample

#dcd2f8 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2f8 in the Color Lab