Skip to content

#d8bceb

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

RGB
216, 188, 235
HSL
276°, 54%, 83%
CMYK
8, 20, 0, 8
Luminance
0.5656

Every format

HEX#d8bceb
RGBrgb(216, 188, 235)
HSLhsl(276, 54%, 83%)
CMYKcmyk(8%, 20%, 0%, 8%)
LABlab(79.9 18.5 -19.7)
LCHlch(79.9 27.0 313.2)
OKLCHoklch(0.834 0.071 311.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8bceb on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#d8bceb on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green73.7%
Blue92.2%

CMYK percentages

Cyan8.1%
Magenta20.0%
Yellow0.0%
Key (black)7.8%

Color previews

#d8bceb text on a black background

contrast 12.31:1

Card sample

#d8bceb text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8bceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8bceb in the Color Lab