Skip to content
Vectorlight.net

#d272fe

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

HEX
#d272fe
RGB
210, 114, 254
HSL
281.14°, 98.59%, 72.16%
OKLCH
0.72 0.21 313.96
Names
—
Lists

Codes

FormatValue
HEX#d272fe
RGBrgb(210 114 254)
HSLhsl(281.14 98.59% 72.16%)
OKLCHoklch(0.72 0.21 313.96)
CMYKcmyk(17.32% 55.12% 0% 0.39%)
Android#ffd272fe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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