Skip to content

#d5c0df

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

RGB
213, 192, 223
HSL
281°, 33%, 81%
CMYK
5, 14, 0, 13
Luminance
0.5717

Every format

HEX#d5c0df
RGBrgb(213, 192, 223)
HSLhsl(281, 33%, 81%)
CMYKcmyk(5%, 14%, 0%, 13%)
LABlab(80.3 13.0 -12.7)
LCHlch(80.3 18.2 315.6)
OKLCHoklch(0.835 0.048 315.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d5c0df on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#d5c0df on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green75.3%
Blue87.5%

CMYK percentages

Cyan4.5%
Magenta13.9%
Yellow0.0%
Key (black)12.5%

Color previews

#d5c0df text on a black background

contrast 12.43:1

Card sample

#d5c0df text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d5c0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d5c0df in the Color Lab