Skip to content
Vectorlight.net

#cd81cc

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

HEX
#cd81cc
RGB
205, 129, 204
HSL
300.79°, 43.18%, 65.49%
OKLCH
0.71 0.13 327.34
Names
—
Lists

Codes

FormatValue
HEX#cd81cc
RGBrgb(205 129 204)
HSLhsl(300.79 43.18% 65.49%)
OKLCHoklch(0.71 0.13 327.34)
CMYKcmyk(0% 37.07% 0.49% 19.61%)
Android#ffcd81cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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