Skip to content

#d8cbff

a pale, electric violet · warm · closest name: lavender

RGB
216, 203, 255
HSL
255°, 100%, 90%
CMYK
15, 20, 0, 0
Luminance
0.6453

Every format

HEX#d8cbff
RGBrgb(216, 203, 255)
HSLhsl(255, 100%, 90%)
CMYKcmyk(15%, 20%, 0%, 0%)
LABlab(84.2 14.5 -23.8)
LCHlch(84.2 27.9 301.4)
OKLCHoklch(0.870 0.072 296.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8cbff on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d8cbff on black: 13.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green79.6%
Blue100.0%

CMYK percentages

Cyan15.3%
Magenta20.4%
Yellow0.0%
Key (black)0.0%

Color previews

#d8cbff text on a black background

contrast 13.91:1

Card sample

#d8cbff text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8cbff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8cbff in the Color Lab