Skip to content

#d2cadf

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

RGB
210, 202, 223
HSL
263°, 25%, 83%
CMYK
6, 9, 0, 13
Luminance
0.6127

Every format

HEX#d2cadf
RGBrgb(210, 202, 223)
HSLhsl(263, 25%, 83%)
CMYKcmyk(6%, 9%, 0%, 13%)
LABlab(82.5 6.7 -9.4)
LCHlch(82.5 11.5 305.3)
OKLCHoklch(0.852 0.030 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cadf on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#d2cadf on black: 13.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green79.2%
Blue87.5%

CMYK percentages

Cyan5.8%
Magenta9.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d2cadf text on a black background

contrast 13.25:1

Card sample

#d2cadf text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cadf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cadf in the Color Lab