Skip to content

#d7bcdf

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

RGB
215, 188, 223
HSL
286°, 35%, 81%
CMYK
4, 16, 0, 13
Luminance
0.5574

Every format

HEX#d7bcdf
RGBrgb(215, 188, 223)
HSLhsl(286, 35%, 81%)
CMYKcmyk(4%, 16%, 0%, 13%)
LABlab(79.5 15.8 -13.9)
LCHlch(79.5 21.1 318.6)
OKLCHoklch(0.829 0.056 318.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7bcdf on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#d7bcdf on black: 12.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green73.7%
Blue87.5%

CMYK percentages

Cyan3.6%
Magenta15.7%
Yellow0.0%
Key (black)12.5%

Color previews

#d7bcdf text on a black background

contrast 12.15:1

Card sample

#d7bcdf text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7bcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7bcdf in the Color Lab