Skip to content
Vectorlight.net

#d796ff

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

HEX
#d796ff
RGB
215, 150, 255
HSL
277.14°, 100%, 79.41%
OKLCH
0.77 0.16 311.61
Names
—
Lists

Codes

FormatValue
HEX#d796ff
RGBrgb(215 150 255)
HSLhsl(277.14 100% 79.41%)
OKLCHoklch(0.77 0.16 311.61)
CMYKcmyk(15.69% 41.18% 0% 0%)
Android#ffd796ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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