Skip to content
Vectorlight.net

#c8bafb

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

HEX
#c8bafb
RGB
200, 186, 251
HSL
252.92°, 89.04%, 85.69%
OKLCH
0.82 0.09 294.18
Names
—
Lists

Codes

FormatValue
HEX#c8bafb
RGBrgb(200 186 251)
HSLhsl(252.92 89.04% 85.69%)
OKLCHoklch(0.82 0.09 294.18)
CMYKcmyk(20.32% 25.9% 0% 1.57%)
Android#ffc8bafb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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