Skip to content
Vectorlight.net

#c381fe

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

HEX
#c381fe
RGB
195, 129, 254
HSL
271.68°, 98.43%, 75.1%
OKLCH
0.72 0.18 306.73
Names
—
Lists

Codes

FormatValue
HEX#c381fe
RGBrgb(195 129 254)
HSLhsl(271.68 98.43% 75.1%)
OKLCHoklch(0.72 0.18 306.73)
CMYKcmyk(23.23% 49.21% 0% 0.39%)
Android#ffc381fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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