Skip to content
Vectorlight.net

#c478dd

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

HEX
#c478dd
RGB
196, 120, 221
HSL
285.15°, 59.76%, 66.86%
OKLCH
0.69 0.16 317.36
Names
—
Lists

Codes

FormatValue
HEX#c478dd
RGBrgb(196 120 221)
HSLhsl(285.15 59.76% 66.86%)
OKLCHoklch(0.69 0.16 317.36)
CMYKcmyk(11.31% 45.7% 0% 13.33%)
Android#ffc478dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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