Skip to content
Vectorlight.net

#c46afb

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

HEX
#c46afb
RGB
196, 106, 251
HSL
277.24°, 94.77%, 70%
OKLCH
0.69 0.22 310.59
Names
—
Lists

Codes

FormatValue
HEX#c46afb
RGBrgb(196 106 251)
HSLhsl(277.24 94.77% 70%)
OKLCHoklch(0.69 0.22 310.59)
CMYKcmyk(21.91% 57.77% 0% 1.57%)
Android#ffc46afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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