Skip to content
Vectorlight.net

#c4baff

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

HEX
#c4baff
RGB
196, 186, 255
HSL
248.7°, 100%, 86.47%
OKLCH
0.82 0.1 290.75
Names
—
Lists

Codes

FormatValue
HEX#c4baff
RGBrgb(196 186 255)
HSLhsl(248.7 100% 86.47%)
OKLCHoklch(0.82 0.1 290.75)
CMYKcmyk(23.14% 27.06% 0% 0%)
Android#ffc4baff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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