Skip to content
Vectorlight.net

#d487fb

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

HEX
#d487fb
RGB
212, 135, 251
HSL
279.83°, 93.55%, 75.69%
OKLCH
0.75 0.18 313.39
Names
—
Lists

Codes

FormatValue
HEX#d487fb
RGBrgb(212 135 251)
HSLhsl(279.83 93.55% 75.69%)
OKLCHoklch(0.75 0.18 313.39)
CMYKcmyk(15.54% 46.22% 0% 1.57%)
Android#ffd487fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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