Skip to content

#d8ccfd

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

RGB
216, 204, 253
HSL
255°, 93%, 90%
CMYK
15, 19, 0, 1
Luminance
0.6488

Every format

HEX#d8ccfd
RGBrgb(216, 204, 253)
HSLhsl(255, 93%, 90%)
CMYKcmyk(15%, 19%, 0%, 1%)
LABlab(84.4 13.6 -22.5)
LCHlch(84.4 26.2 301.1)
OKLCHoklch(0.871 0.068 296.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8ccfd on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#d8ccfd on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green80.0%
Blue99.2%

CMYK percentages

Cyan14.6%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#d8ccfd text on a black background

contrast 13.98:1

Card sample

#d8ccfd text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d8ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8ccfd in the Color Lab