Skip to content
Vectorlight.net

#d472ec

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

HEX
#d472ec
RGB
212, 114, 236
HSL
288.2°, 76.25%, 68.63%
OKLCH
0.71 0.2 319.45
Names
—
Lists

Codes

FormatValue
HEX#d472ec
RGBrgb(212 114 236)
HSLhsl(288.2 76.25% 68.63%)
OKLCHoklch(0.71 0.2 319.45)
CMYKcmyk(10.17% 51.69% 0% 7.45%)
Android#ffd472ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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