Skip to content
Vectorlight.net

#c47bfb

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

HEX
#c47bfb
RGB
196, 123, 251
HSL
274.22°, 94.12%, 73.33%
OKLCH
0.71 0.19 308.66
Names
—
Lists

Codes

FormatValue
HEX#c47bfb
RGBrgb(196 123 251)
HSLhsl(274.22 94.12% 73.33%)
OKLCHoklch(0.71 0.19 308.66)
CMYKcmyk(21.91% 51% 0% 1.57%)
Android#ffc47bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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