Skip to content
Vectorlight.net

#cf78f6

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

HEX
#cf78f6
RGB
207, 120, 246
HSL
281.43°, 87.5%, 71.76%
OKLCH
0.72 0.19 314.39
Names
—
Lists

Codes

FormatValue
HEX#cf78f6
RGBrgb(207 120 246)
HSLhsl(281.43 87.5% 71.76%)
OKLCHoklch(0.72 0.19 314.39)
CMYKcmyk(15.85% 51.22% 0% 3.53%)
Android#ffcf78f6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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