Skip to content
Vectorlight.net

#c5afeb

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

HEX
#c5afeb
RGB
197, 175, 235
HSL
262°, 60%, 80.39%
OKLCH
0.79 0.09 301.24
Names
—
Lists

Codes

FormatValue
HEX#c5afeb
RGBrgb(197 175 235)
HSLhsl(262 60% 80.39%)
OKLCHoklch(0.79 0.09 301.24)
CMYKcmyk(16.17% 25.53% 0% 7.84%)
Android#ffc5afeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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