Skip to content
Vectorlight.net

#d159dd

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

HEX
#d159dd
RGB
209, 89, 221
HSL
294.55°, 66%, 60.78%
OKLCH
0.67 0.22 323.96
Names
—
Lists

Codes

FormatValue
HEX#d159dd
RGBrgb(209 89 221)
HSLhsl(294.55 66% 60.78%)
OKLCHoklch(0.67 0.22 323.96)
CMYKcmyk(5.43% 59.73% 0% 13.33%)
Android#ffd159dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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