Skip to content
Vectorlight.net

#c687ea

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

HEX
#c687ea
RGB
198, 135, 234
HSL
278.18°, 70.21%, 72.35%
OKLCH
0.72 0.15 312.35
Names
—
Lists

Codes

FormatValue
HEX#c687ea
RGBrgb(198 135 234)
HSLhsl(278.18 70.21% 72.35%)
OKLCHoklch(0.72 0.15 312.35)
CMYKcmyk(15.38% 42.31% 0% 8.24%)
Android#ffc687ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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