Skip to content
Vectorlight.net

#cd7acc

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

HEX
#cd7acc
RGB
205, 122, 204
HSL
300.72°, 45.36%, 64.12%
OKLCH
0.7 0.15 327.44
Names
—
Lists

Codes

FormatValue
HEX#cd7acc
RGBrgb(205 122 204)
HSLhsl(300.72 45.36% 64.12%)
OKLCHoklch(0.7 0.15 327.44)
CMYKcmyk(0% 40.49% 0.49% 19.61%)
Android#ffcd7acc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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