Skip to content
Vectorlight.net

#d15afa

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

HEX
#d15afa
RGB
209, 90, 250
HSL
284.63°, 94.12%, 66.67%
OKLCH
0.68 0.24 316.31
Names
—
Lists

Codes

FormatValue
HEX#d15afa
RGBrgb(209 90 250)
HSLhsl(284.63 94.12% 66.67%)
OKLCHoklch(0.68 0.24 316.31)
CMYKcmyk(16.4% 64% 0% 1.96%)
Android#ffd15afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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