Skip to content
Vectorlight.net

#cf78fe

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

HEX
#cf78fe
RGB
207, 120, 254
HSL
278.96°, 98.53%, 73.33%
OKLCH
0.72 0.2 312.36
Names
—
Lists

Codes

FormatValue
HEX#cf78fe
RGBrgb(207 120 254)
HSLhsl(278.96 98.53% 73.33%)
OKLCHoklch(0.72 0.2 312.36)
CMYKcmyk(18.5% 52.76% 0% 0.39%)
Android#ffcf78fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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