Skip to content
Vectorlight.net

#f7bafa

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

HEX
#f7bafa
RGB
247, 186, 250
HSL
297.19°, 86.49%, 85.49%
OKLCH
0.86 0.11 324.92
Names
—
Lists

Codes

FormatValue
HEX#f7bafa
RGBrgb(247 186 250)
HSLhsl(297.19 86.49% 85.49%)
OKLCHoklch(0.86 0.11 324.92)
CMYKcmyk(1.2% 25.6% 0% 1.96%)
Android#fff7bafa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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