Skip to content
Vectorlight.net

#d477fd

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

HEX
#d477fd
RGB
212, 119, 253
HSL
281.64°, 97.1%, 72.94%
OKLCH
0.72 0.2 314.47
Names
—
Lists

Codes

FormatValue
HEX#d477fd
RGBrgb(212 119 253)
HSLhsl(281.64 97.1% 72.94%)
OKLCHoklch(0.72 0.2 314.47)
CMYKcmyk(16.21% 52.96% 0% 0.78%)
Android#ffd477fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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