Skip to content
Vectorlight.net

#d168fa

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

HEX
#d168fa
RGB
209, 104, 250
HSL
283.15°, 93.59%, 69.41%
OKLCH
0.7 0.22 315.4
Names
—
Lists

Codes

FormatValue
HEX#d168fa
RGBrgb(209 104 250)
HSLhsl(283.15 93.59% 69.41%)
OKLCHoklch(0.7 0.22 315.4)
CMYKcmyk(16.4% 58.4% 0% 1.96%)
Android#ffd168fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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