Skip to content
Vectorlight.net

#c338df

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

HEX
#c338df
RGB
195, 56, 223
HSL
289.94°, 72.29%, 54.71%
OKLCH
0.62 0.25 320.22
Names
—
Lists

Codes

FormatValue
HEX#c338df
RGBrgb(195 56 223)
HSLhsl(289.94 72.29% 54.71%)
OKLCHoklch(0.62 0.25 320.22)
CMYKcmyk(12.56% 74.89% 0% 12.55%)
Android#ffc338df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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