Skip to content
Vectorlight.net

#cfa7dc

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

HEX
#cfa7dc
RGB
207, 167, 220
HSL
285.28°, 43.09%, 75.88%
OKLCH
0.78 0.09 317.76
Names
—
Lists

Codes

FormatValue
HEX#cfa7dc
RGBrgb(207 167 220)
HSLhsl(285.28 43.09% 75.88%)
OKLCHoklch(0.78 0.09 317.76)
CMYKcmyk(5.91% 24.09% 0% 13.73%)
Android#ffcfa7dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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