Skip to content

#d0ccfd

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

RGB
208, 204, 253
HSL
245°, 93%, 90%
CMYK
18, 19, 0, 1
Luminance
0.6369

Every format

HEX#d0ccfd
RGBrgb(208, 204, 253)
HSLhsl(245, 93%, 90%)
CMYKcmyk(18%, 19%, 0%, 1%)
LABlab(83.8 11.1 -23.5)
LCHlch(83.8 25.9 295.3)
OKLCHoklch(0.865 0.068 288.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0ccfd on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d0ccfd on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green80.0%
Blue99.2%

CMYK percentages

Cyan17.8%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#d0ccfd text on a black background

contrast 13.74:1

Card sample

#d0ccfd text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0ccfd in the Color Lab