Skip to content
Vectorlight.net

#c768ff

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

HEX
#c768ff
RGB
199, 104, 255
HSL
277.75°, 100%, 70.39%
OKLCH
0.69 0.22 310.9
Names
—
Lists

Codes

FormatValue
HEX#c768ff
RGBrgb(199 104 255)
HSLhsl(277.75 100% 70.39%)
OKLCHoklch(0.69 0.22 310.9)
CMYKcmyk(21.96% 59.22% 0% 0%)
Android#ffc768ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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