Skip to content
Vectorlight.net

#cc68eb

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

HEX
#cc68eb
RGB
204, 104, 235
HSL
285.8°, 76.61%, 66.47%
OKLCH
0.68 0.21 317.58
Names
—
Lists

Codes

FormatValue
HEX#cc68eb
RGBrgb(204 104 235)
HSLhsl(285.8 76.61% 66.47%)
OKLCHoklch(0.68 0.21 317.58)
CMYKcmyk(13.19% 55.74% 0% 7.84%)
Android#ffcc68eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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