Skip to content

#cdc5d2

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

RGB
205, 197, 210
HSL
277°, 13%, 80%
CMYK
2, 6, 0, 18
Luminance
0.5756

Every format

HEX#cdc5d2
RGBrgb(205, 197, 210)
HSLhsl(277, 13%, 80%)
CMYKcmyk(2%, 6%, 0%, 18%)
LABlab(80.5 5.2 -5.5)
LCHlch(80.5 7.5 313.3)
OKLCHoklch(0.834 0.020 312.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc5d2 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cdc5d2 on black: 12.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green77.3%
Blue82.4%

CMYK percentages

Cyan2.4%
Magenta6.2%
Yellow0.0%
Key (black)17.6%

Color previews

#cdc5d2 text on a black background

contrast 12.51:1

Card sample

#cdc5d2 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc5d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdc5d2 in the Color Lab