Skip to content
Vectorlight.net

#d162ee

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

HEX
#d162ee
RGB
209, 98, 238
HSL
287.57°, 80.46%, 65.88%
OKLCH
0.69 0.22 318.84
Names
—
Lists

Codes

FormatValue
HEX#d162ee
RGBrgb(209 98 238)
HSLhsl(287.57 80.46% 65.88%)
OKLCHoklch(0.69 0.22 318.84)
CMYKcmyk(12.18% 58.82% 0% 6.67%)
Android#ffd162ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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