Skip to content
Vectorlight.net

#d2ccfc

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

HEX
#d2ccfc
RGB
210, 204, 252
HSL
247.5°, 88.89%, 89.41%
OKLCH
0.87 0.07 290.68
Names
—
Lists

Codes

FormatValue
HEX#d2ccfc
RGBrgb(210 204 252)
HSLhsl(247.5 88.89% 89.41%)
OKLCHoklch(0.87 0.07 290.68)
CMYKcmyk(16.67% 19.05% 0% 1.18%)
Android#ffd2ccfc

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.78: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="#d2ccfc"
Gradient stop
<stop stop-color="#d2ccfc"/>
CSS variable + fill
:root { --c: #d2ccfc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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