Skip to content
Vectorlight.net

#d789fa

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

HEX
#d789fa
RGB
215, 137, 250
HSL
281.42°, 91.87%, 75.88%
OKLCH
0.75 0.17 314.63
Names
—
Lists

Codes

FormatValue
HEX#d789fa
RGBrgb(215 137 250)
HSLhsl(281.42 91.87% 75.88%)
OKLCHoklch(0.75 0.17 314.63)
CMYKcmyk(14% 45.2% 0% 1.96%)
Android#ffd789fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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