Skip to content
Vectorlight.net

#c497fc

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

HEX
#c497fc
RGB
196, 151, 252
HSL
266.73°, 94.39%, 79.02%
OKLCH
0.76 0.15 303.6
Names
—
Lists

Codes

FormatValue
HEX#c497fc
RGBrgb(196 151 252)
HSLhsl(266.73 94.39% 79.02%)
OKLCHoklch(0.76 0.15 303.6)
CMYKcmyk(22.22% 40.08% 0% 1.18%)
Android#ffc497fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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