Skip to content
Vectorlight.net

#f0abfe

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

HEX
#f0abfe
RGB
240, 171, 254
HSL
289.88°, 97.65%, 83.33%
OKLCH
0.83 0.13 320.66
Names
—
Lists

Codes

FormatValue
HEX#f0abfe
RGBrgb(240 171 254)
HSLhsl(289.88 97.65% 83.33%)
OKLCHoklch(0.83 0.13 320.66)
CMYKcmyk(5.51% 32.68% 0% 0.39%)
Android#fff0abfe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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