Skip to content
Vectorlight.net

#d227da

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

HEX
#d227da
RGB
210, 39, 218
HSL
297.32°, 70.75%, 50.39%
OKLCH
0.62 0.27 326.1
Names
—
Lists

Codes

FormatValue
HEX#d227da
RGBrgb(210 39 218)
HSLhsl(297.32 70.75% 50.39%)
OKLCHoklch(0.62 0.27 326.1)
CMYKcmyk(3.67% 82.11% 0% 14.51%)
Android#ffd227da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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