Skip to content

#d3c2df

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

RGB
211, 194, 223
HSL
275°, 31%, 82%
CMYK
5, 13, 0, 13
Luminance
0.5776

Every format

HEX#d3c2df
RGBrgb(211, 194, 223)
HSLhsl(275, 31%, 82%)
CMYKcmyk(5%, 13%, 0%, 13%)
LABlab(80.6 11.3 -12.3)
LCHlch(80.6 16.6 312.6)
OKLCHoklch(0.837 0.044 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3c2df on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#d3c2df on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green76.1%
Blue87.5%

CMYK percentages

Cyan5.4%
Magenta13.0%
Yellow0.0%
Key (black)12.5%

Color previews

#d3c2df text on a black background

contrast 12.55:1

Card sample

#d3c2df text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3c2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3c2df in the Color Lab