Skip to content
Vectorlight.net

#821fbf

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

HEX
#821fbf
RGB
130, 31, 191
HSL
277.13°, 72.07%, 43.53%
OKLCH
0.49 0.23 307.39
Names
—
Lists

Codes

FormatValue
HEX#821fbf
RGBrgb(130 31 191)
HSLhsl(277.13 72.07% 43.53%)
OKLCHoklch(0.49 0.23 307.39)
CMYKcmyk(31.94% 83.77% 0% 25.1%)
Android#ff821fbf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.89:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#821fbf"
Gradient stop
<stop stop-color="#821fbf"/>
CSS variable + fill
:root { --c: #821fbf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #821fbf;
background-color: #821fbf;
bg-[#821fbf]