Skip to content

#d0cdfb

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

RGB
208, 205, 251
HSL
244°, 85%, 89%
CMYK
17, 18, 0, 2
Luminance
0.6404

Every format

HEX#d0cdfb
RGBrgb(208, 205, 251)
HSLhsl(244, 85%, 89%)
CMYKcmyk(17%, 18%, 0%, 2%)
LABlab(84.0 10.1 -22.1)
LCHlch(84.0 24.3 294.6)
OKLCHoklch(0.866 0.063 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0cdfb on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d0cdfb on black: 13.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green80.4%
Blue98.4%

CMYK percentages

Cyan17.1%
Magenta18.3%
Yellow0.0%
Key (black)1.6%

Color previews

#d0cdfb text on a black background

contrast 13.81:1

Card sample

#d0cdfb text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cdfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cdfb in the Color Lab