Skip to content
Vectorlight.net

#d156ee

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

HEX
#d156ee
RGB
209, 86, 238
HSL
288.55°, 81.72%, 63.53%
OKLCH
0.67 0.24 319.46
Names
—
Lists

Codes

FormatValue
HEX#d156ee
RGBrgb(209 86 238)
HSLhsl(288.55 81.72% 63.53%)
OKLCHoklch(0.67 0.24 319.46)
CMYKcmyk(12.18% 63.87% 0% 6.67%)
Android#ffd156ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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