Skip to content
Vectorlight.net

#cd78aa

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

HEX
#cd78aa
RGB
205, 120, 170
HSL
324.71°, 45.95%, 63.73%
OKLCH
0.68 0.12 344.64
Names
—
Lists

Codes

FormatValue
HEX#cd78aa
RGBrgb(205 120 170)
HSLhsl(324.71 45.95% 63.73%)
OKLCHoklch(0.68 0.12 344.64)
CMYKcmyk(0% 41.46% 17.07% 19.61%)
Android#ffcd78aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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