Skip to content

#d1cddb

a light, soft violet · warm · closest name: silver

RGB
209, 205, 219
HSL
257°, 16%, 83%
CMYK
5, 6, 0, 14
Luminance
0.6233

Every format

HEX#d1cddb
RGBrgb(209, 205, 219)
HSLhsl(257, 16%, 83%)
CMYKcmyk(5%, 6%, 0%, 14%)
LABlab(83.1 4.0 -6.4)
LCHlch(83.1 7.5 301.6)
OKLCHoklch(0.856 0.020 299.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1cddb on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#d1cddb on black: 13.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green80.4%
Blue85.9%

CMYK percentages

Cyan4.6%
Magenta6.4%
Yellow0.0%
Key (black)14.1%

Color previews

#d1cddb text on a black background

contrast 13.47:1

Card sample

#d1cddb text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(209, 205, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(209, 205, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d1cddb;
background: linear-gradient(135deg, #d1cddb, #DACDDB);

Monochromatic scale

Palettes built from #d1cddb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1cddb in the Color Lab