Skip to content
Vectorlight.net

#f09bfb

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

HEX
#f09bfb
RGB
240, 155, 251
HSL
293.13°, 92.31%, 79.61%
OKLCH
0.81 0.16 322.77
Names
—
Lists

Codes

FormatValue
HEX#f09bfb
RGBrgb(240 155 251)
HSLhsl(293.13 92.31% 79.61%)
OKLCHoklch(0.81 0.16 322.77)
CMYKcmyk(4.38% 38.25% 0% 1.57%)
Android#fff09bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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