Skip to content
Vectorlight.net

#c2b7fe

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

HEX
#c2b7fe
RGB
194, 183, 254
HSL
249.3°, 97.26%, 85.69%
OKLCH
0.81 0.1 291.12
Names
—
Lists

Codes

FormatValue
HEX#c2b7fe
RGBrgb(194 183 254)
HSLhsl(249.3 97.26% 85.69%)
OKLCHoklch(0.81 0.1 291.12)
CMYKcmyk(23.62% 27.95% 0% 0.39%)
Android#ffc2b7fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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