Skip to content
Vectorlight.net

#cb46dc

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

HEX
#cb46dc
RGB
203, 70, 220
HSL
293.2°, 68.18%, 56.86%
OKLCH
0.64 0.24 322.97
Names
—
Lists

Codes

FormatValue
HEX#cb46dc
RGBrgb(203 70 220)
HSLhsl(293.2 68.18% 56.86%)
OKLCHoklch(0.64 0.24 322.97)
CMYKcmyk(7.73% 68.18% 0% 13.73%)
Android#ffcb46dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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