Skip to content

#d7c1df

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

RGB
215, 193, 223
HSL
284°, 32%, 82%
CMYK
4, 14, 0, 13
Luminance
0.5791

Every format

HEX#d7c1df
RGBrgb(215, 193, 223)
HSLhsl(284, 32%, 82%)
CMYKcmyk(4%, 14%, 0%, 13%)
LABlab(80.7 13.1 -12.1)
LCHlch(80.7 17.8 317.3)
OKLCHoklch(0.839 0.048 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green75.7%
Blue87.5%

CMYK percentages

Cyan3.6%
Magenta13.5%
Yellow0.0%
Key (black)12.5%

Color previews

#d7c1df text on a black background

contrast 12.58:1

Card sample

#d7c1df text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7c1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7c1df in the Color Lab