Skip to content
Vectorlight.net

#d892fd

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

HEX
#d892fd
RGB
216, 146, 253
HSL
279.25°, 96.4%, 78.24%
OKLCH
0.77 0.16 313.14
Names
—
Lists

Codes

FormatValue
HEX#d892fd
RGBrgb(216 146 253)
HSLhsl(279.25 96.4% 78.24%)
OKLCHoklch(0.77 0.16 313.14)
CMYKcmyk(14.62% 42.29% 0% 0.78%)
Android#ffd892fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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