Skip to content
Vectorlight.net

#d282fc

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

HEX
#d282fc
RGB
210, 130, 252
HSL
279.34°, 95.31%, 74.9%
OKLCH
0.74 0.19 312.91
Names
—
Lists

Codes

FormatValue
HEX#d282fc
RGBrgb(210 130 252)
HSLhsl(279.34 95.31% 74.9%)
OKLCHoklch(0.74 0.19 312.91)
CMYKcmyk(16.67% 48.41% 0% 1.18%)
Android#ffd282fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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