Skip to content
Vectorlight.net

#d1ccfb

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#d1ccfb
RGB
209, 204, 251
HSL
246.38°, 85.45%, 89.22%
OKLCH
0.86 0.06 289.85
Names
—
Lists

Codes

FormatValue
HEX#d1ccfb
RGBrgb(209 204 251)
HSLhsl(246.38 85.45% 89.22%)
OKLCHoklch(0.86 0.06 289.85)
CMYKcmyk(16.73% 18.73% 0% 1.57%)
Android#ffd1ccfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.52:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.74:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#d1ccfb"
Gradient stop
<stop stop-color="#d1ccfb"/>
CSS variable + fill
:root { --c: #d1ccfb; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #d1ccfb;
background-color: #d1ccfb;
bg-[#d1ccfb]