Skip to content
Vectorlight.net

#cb79fc

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

HEX
#cb79fc
RGB
203, 121, 252
HSL
277.56°, 95.62%, 73.14%
OKLCH
0.72 0.2 311.29
Names
—
Lists

Codes

FormatValue
HEX#cb79fc
RGBrgb(203 121 252)
HSLhsl(277.56 95.62% 73.14%)
OKLCHoklch(0.72 0.2 311.29)
CMYKcmyk(19.44% 51.98% 0% 1.18%)
Android#ffcb79fc

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="#cb79fc"
Gradient stop
<stop stop-color="#cb79fc"/>
CSS variable + fill
:root { --c: #cb79fc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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