Skip to content
Vectorlight.net

#c57bfc

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

HEX
#c57bfc
RGB
197, 123, 252
HSL
274.42°, 95.56%, 73.53%
OKLCH
0.71 0.19 308.8
Names
—
Lists

Codes

FormatValue
HEX#c57bfc
RGBrgb(197 123 252)
HSLhsl(274.42 95.56% 73.53%)
OKLCHoklch(0.71 0.19 308.8)
CMYKcmyk(21.83% 51.19% 0% 1.18%)
Android#ffc57bfc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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