Skip to content

#dcd4f0

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

RGB
220, 212, 240
HSL
257°, 48%, 89%
CMYK
8, 12, 0, 6
Luminance
0.6859

Every format

HEX#dcd4f0
RGBrgb(220, 212, 240)
HSLhsl(257, 48%, 89%)
CMYKcmyk(8%, 12%, 0%, 6%)
LABlab(86.3 7.9 -12.7)
LCHlch(86.3 15.0 302.0)
OKLCHoklch(0.885 0.039 298.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd4f0 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dcd4f0 on black: 14.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green83.1%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta11.7%
Yellow0.0%
Key (black)5.9%

Color previews

#dcd4f0 text on a black background

contrast 14.72:1

Card sample

#dcd4f0 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd4f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd4f0 in the Color Lab