Skip to content

#d2cbdb

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

RGB
210, 203, 219
HSL
266°, 18%, 83%
CMYK
4, 7, 0, 14
Luminance
0.6153

Every format

HEX#d2cbdb
RGBrgb(210, 203, 219)
HSLhsl(266, 18%, 83%)
CMYKcmyk(4%, 7%, 0%, 14%)
LABlab(82.7 5.4 -7.1)
LCHlch(82.7 8.9 307.2)
OKLCHoklch(0.853 0.023 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green79.6%
Blue85.9%

CMYK percentages

Cyan4.1%
Magenta7.3%
Yellow0.0%
Key (black)14.1%

Color previews

#d2cbdb text on a black background

contrast 13.31:1

Card sample

#d2cbdb text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cbdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cbdb in the Color Lab