Skip to content
Vectorlight.net

#d159eb

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

HEX
#d159eb
RGB
209, 89, 235
HSL
289.32°, 78.49%, 63.53%
OKLCH
0.67 0.23 320.09
Names
—
Lists

Codes

FormatValue
HEX#d159eb
RGBrgb(209 89 235)
HSLhsl(289.32 78.49% 63.53%)
OKLCHoklch(0.67 0.23 320.09)
CMYKcmyk(11.06% 62.13% 0% 7.84%)
Android#ffd159eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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