Skip to content
Vectorlight.net

#f59dfd

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

HEX
#f59dfd
RGB
245, 157, 253
HSL
295°, 96%, 80.39%
OKLCH
0.82 0.16 323.94
Names
—
Lists

Codes

FormatValue
HEX#f59dfd
RGBrgb(245 157 253)
HSLhsl(295 96% 80.39%)
OKLCHoklch(0.82 0.16 323.94)
CMYKcmyk(3.16% 37.94% 0% 0.78%)
Android#fff59dfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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