Skip to content
Vectorlight.net

#fb5dfd

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

HEX
#fb5dfd
RGB
251, 93, 253
HSL
299.25°, 97.56%, 67.84%
OKLCH
0.74 0.26 327.29
Names
—
Lists

Codes

FormatValue
HEX#fb5dfd
RGBrgb(251 93 253)
HSLhsl(299.25 97.56% 67.84%)
OKLCHoklch(0.74 0.26 327.29)
CMYKcmyk(0.79% 63.24% 0% 0.78%)
Android#fffb5dfd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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