Skip to content

#d1c0ee

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

RGB
209, 192, 238
HSL
262°, 58%, 84%
CMYK
12, 19, 0, 7
Luminance
0.5743

Every format

HEX#d1c0ee
RGBrgb(209, 192, 238)
HSLhsl(262, 58%, 84%)
CMYKcmyk(12%, 19%, 0%, 7%)
LABlab(80.4 14.7 -20.6)
LCHlch(80.4 25.3 305.5)
OKLCHoklch(0.837 0.066 301.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.0%
Green75.3%
Blue93.3%

CMYK percentages

Cyan12.2%
Magenta19.3%
Yellow0.0%
Key (black)6.7%

Color previews

#d1c0ee text on a black background

contrast 12.49:1

Card sample

#d1c0ee text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1c0ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1c0ee in the Color Lab