Skip to content
Vectorlight.net

#d478db

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

HEX
#d478db
RGB
212, 120, 219
HSL
295.76°, 57.89%, 66.47%
OKLCH
0.71 0.17 324.56
Names
—
Lists

Codes

FormatValue
HEX#d478db
RGBrgb(212 120 219)
HSLhsl(295.76 57.89% 66.47%)
OKLCHoklch(0.71 0.17 324.56)
CMYKcmyk(3.2% 45.21% 0% 14.12%)
Android#ffd478db

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="#d478db"
Gradient stop
<stop stop-color="#d478db"/>
CSS variable + fill
:root { --c: #d478db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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