Skip to content
Vectorlight.net

#dc98f1

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

HEX
#dc98f1
RGB
220, 152, 241
HSL
285.84°, 76.07%, 77.06%
OKLCH
0.78 0.14 317.99
Names
—
Lists

Codes

FormatValue
HEX#dc98f1
RGBrgb(220 152 241)
HSLhsl(285.84 76.07% 77.06%)
OKLCHoklch(0.78 0.14 317.99)
CMYKcmyk(8.71% 36.93% 0% 5.49%)
Android#ffdc98f1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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