Skip to content
Vectorlight.net

#c678bb

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

HEX
#c678bb
RGB
198, 120, 187
HSL
308.46°, 40.63%, 62.35%
OKLCH
0.68 0.13 332.16
Names
—
Lists

Codes

FormatValue
HEX#c678bb
RGBrgb(198 120 187)
HSLhsl(308.46 40.63% 62.35%)
OKLCHoklch(0.68 0.13 332.16)
CMYKcmyk(0% 39.39% 5.56% 22.35%)
Android#ffc678bb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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