Skip to content

#d4ccfd

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

RGB
212, 204, 253
HSL
250°, 93%, 90%
CMYK
16, 19, 0, 1
Luminance
0.6427

Every format

HEX#d4ccfd
RGBrgb(212, 204, 253)
HSLhsl(250, 93%, 90%)
CMYKcmyk(16%, 19%, 0%, 1%)
LABlab(84.1 12.3 -23.0)
LCHlch(84.1 26.1 298.2)
OKLCHoklch(0.868 0.068 292.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green80.0%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#d4ccfd text on a black background

contrast 13.85:1

Card sample

#d4ccfd text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4ccfd in the Color Lab