Skip to content
Vectorlight.net

#d4c2ea

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

HEX
#d4c2ea
RGB
212, 194, 234
HSL
267°, 48.78%, 83.92%
OKLCH
0.84 0.06 305.55
Names
—
Lists

Codes

FormatValue
HEX#d4c2ea
RGBrgb(212 194 234)
HSLhsl(267 48.78% 83.92%)
OKLCHoklch(0.84 0.06 305.55)
CMYKcmyk(9.4% 17.09% 0% 8.24%)
Android#ffd4c2ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
1.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
12.70: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="#d4c2ea"
Gradient stop
<stop stop-color="#d4c2ea"/>
CSS variable + fill
:root { --c: #d4c2ea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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