Skip to content
Vectorlight.net

#cd0aaa

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

HEX
#cd0aaa
RGB
205, 10, 170
HSL
310.77°, 90.7%, 42.16%
OKLCH
0.58 0.25 338.38
Names
—
Lists

Codes

FormatValue
HEX#cd0aaa
RGBrgb(205 10 170)
HSLhsl(310.77 90.7% 42.16%)
OKLCHoklch(0.58 0.25 338.38)
CMYKcmyk(0% 95.12% 17.07% 19.61%)
Android#ffcd0aaa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.21:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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