Skip to content
Vectorlight.net

#d772ec

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

HEX
#d772ec
RGB
215, 114, 236
HSL
289.67°, 76.25%, 68.63%
OKLCH
0.71 0.2 320.5
Names
—
Lists

Codes

FormatValue
HEX#d772ec
RGBrgb(215 114 236)
HSLhsl(289.67 76.25% 68.63%)
OKLCHoklch(0.71 0.2 320.5)
CMYKcmyk(8.9% 51.69% 0% 7.45%)
Android#ffd772ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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