Skip to content
Vectorlight.net

#d159ee

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

HEX
#d159ee
RGB
209, 89, 238
HSL
288.32°, 81.42%, 64.12%
OKLCH
0.67 0.23 319.32
Names
—
Lists

Codes

FormatValue
HEX#d159ee
RGBrgb(209 89 238)
HSLhsl(288.32 81.42% 64.12%)
OKLCHoklch(0.67 0.23 319.32)
CMYKcmyk(12.18% 62.61% 0% 6.67%)
Android#ffd159ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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