Skip to content
Vectorlight.net

#d2a1df

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

HEX
#d2a1df
RGB
210, 161, 223
HSL
287.42°, 49.21%, 75.29%
OKLCH
0.77 0.1 319.09
Names
—
Lists

Codes

FormatValue
HEX#d2a1df
RGBrgb(210 161 223)
HSLhsl(287.42 49.21% 75.29%)
OKLCHoklch(0.77 0.1 319.09)
CMYKcmyk(5.83% 27.8% 0% 12.55%)
Android#ffd2a1df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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