Skip to content
Vectorlight.net

#c8bafa

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

HEX
#c8bafa
RGB
200, 186, 250
HSL
253.13°, 86.49%, 85.49%
OKLCH
0.82 0.09 294.37
Names
—
Lists

Codes

FormatValue
HEX#c8bafa
RGBrgb(200 186 250)
HSLhsl(253.13 86.49% 85.49%)
OKLCHoklch(0.82 0.09 294.37)
CMYKcmyk(20% 25.6% 0% 1.96%)
Android#ffc8bafa

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.85: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="#c8bafa"
Gradient stop
<stop stop-color="#c8bafa"/>
CSS variable + fill
:root { --c: #c8bafa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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