Skip to content
Vectorlight.net

#fab2ff

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

HEX
#fab2ff
RGB
250, 178, 255
HSL
296.1°, 100%, 84.9%
OKLCH
0.86 0.13 324.42
Names
—
Lists

Codes

FormatValue
HEX#fab2ff
RGBrgb(250 178 255)
HSLhsl(296.1 100% 84.9%)
OKLCHoklch(0.86 0.13 324.42)
CMYKcmyk(1.96% 30.2% 0% 0%)
Android#fffab2ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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