Skip to content
Vectorlight.net

#c396fb

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

HEX
#c396fb
RGB
195, 150, 251
HSL
266.73°, 92.66%, 78.63%
OKLCH
0.75 0.15 303.58
Names
—
Lists

Codes

FormatValue
HEX#c396fb
RGBrgb(195 150 251)
HSLhsl(266.73 92.66% 78.63%)
OKLCHoklch(0.75 0.15 303.58)
CMYKcmyk(22.31% 40.24% 0% 1.57%)
Android#ffc396fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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