Skip to content
Vectorlight.net

#cd5aaa

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

HEX
#cd5aaa
RGB
205, 90, 170
HSL
318.26°, 53.49%, 57.84%
OKLCH
0.64 0.17 340.85
Names
—
Lists

Codes

FormatValue
HEX#cd5aaa
RGBrgb(205 90 170)
HSLhsl(318.26 53.49% 57.84%)
OKLCHoklch(0.64 0.17 340.85)
CMYKcmyk(0% 56.1% 17.07% 19.61%)
Android#ffcd5aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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