Skip to content
Vectorlight.net

#f08bef

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

HEX
#f08bef
RGB
240, 139, 239
HSL
300.59°, 77.1%, 74.31%
OKLCH
0.78 0.17 327.44
Names
—
Lists

Codes

FormatValue
HEX#f08bef
RGBrgb(240 139 239)
HSLhsl(300.59 77.1% 74.31%)
OKLCHoklch(0.78 0.17 327.44)
CMYKcmyk(0% 42.08% 0.42% 5.88%)
Android#fff08bef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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