Skip to content

#dcd4f3

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

RGB
220, 212, 243
HSL
256°, 56%, 89%
CMYK
10, 13, 0, 5
Luminance
0.6877

Every format

HEX#dcd4f3
RGBrgb(220, 212, 243)
HSLhsl(256, 56%, 89%)
CMYKcmyk(10%, 13%, 0%, 5%)
LABlab(86.4 8.5 -14.2)
LCHlch(86.4 16.5 301.0)
OKLCHoklch(0.886 0.043 297.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd4f3 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#dcd4f3 on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green83.1%
Blue95.3%

CMYK percentages

Cyan9.5%
Magenta12.8%
Yellow0.0%
Key (black)4.7%

Color previews

#dcd4f3 text on a black background

contrast 14.75:1

Card sample

#dcd4f3 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd4f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd4f3 in the Color Lab