Skip to content
Vectorlight.net

#c7afdb

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

HEX
#c7afdb
RGB
199, 175, 219
HSL
272.73°, 37.93%, 77.25%
OKLCH
0.79 0.07 309.46
Names
—
Lists

Codes

FormatValue
HEX#c7afdb
RGBrgb(199 175 219)
HSLhsl(272.73 37.93% 77.25%)
OKLCHoklch(0.79 0.07 309.46)
CMYKcmyk(9.13% 20.09% 0% 14.12%)
Android#ffc7afdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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