Skip to content
Vectorlight.net

#d398ee

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

HEX
#d398ee
RGB
211, 152, 238
HSL
281.16°, 71.67%, 76.47%
OKLCH
0.77 0.13 314.76
Names
—
Lists

Codes

FormatValue
HEX#d398ee
RGBrgb(211 152 238)
HSLhsl(281.16 71.67% 76.47%)
OKLCHoklch(0.77 0.13 314.76)
CMYKcmyk(11.34% 36.13% 0% 6.67%)
Android#ffd398ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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