Skip to content

#dcd2f0

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

RGB
220, 210, 240
HSL
260°, 50%, 88%
CMYK
8, 13, 0, 6
Luminance
0.6760

Every format

HEX#dcd2f0
RGBrgb(220, 210, 240)
HSLhsl(260, 50%, 88%)
CMYKcmyk(8%, 13%, 0%, 6%)
LABlab(85.8 9.0 -13.5)
LCHlch(85.8 16.2 303.8)
OKLCHoklch(0.881 0.042 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta12.5%
Yellow0.0%
Key (black)5.9%

Color previews

#dcd2f0 text on a black background

contrast 14.52:1

Card sample

#dcd2f0 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2f0 in the Color Lab