Skip to content

#dcd2f5

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

RGB
220, 210, 245
HSL
257°, 64%, 89%
CMYK
10, 14, 0, 4
Luminance
0.6790

Every format

HEX#dcd2f5
RGBrgb(220, 210, 245)
HSLhsl(257, 64%, 89%)
CMYKcmyk(10%, 14%, 0%, 4%)
LABlab(86.0 10.0 -15.9)
LCHlch(86.0 18.8 302.2)
OKLCHoklch(0.883 0.049 298.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue96.1%

CMYK percentages

Cyan10.2%
Magenta14.3%
Yellow0.0%
Key (black)3.9%

Color previews

#dcd2f5 text on a black background

contrast 14.58:1

Card sample

#dcd2f5 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2f5 in the Color Lab