Skip to content
Vectorlight.net

#cc70db

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

HEX
#cc70db
RGB
204, 112, 219
HSL
291.59°, 59.78%, 64.9%
OKLCH
0.69 0.18 321.85
Names
—
Lists

Codes

FormatValue
HEX#cc70db
RGBrgb(204 112 219)
HSLhsl(291.59 59.78% 64.9%)
OKLCHoklch(0.69 0.18 321.85)
CMYKcmyk(6.85% 48.86% 0% 14.12%)
Android#ffcc70db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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