Skip to content
Vectorlight.net

#7b21da

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

HEX
#7b21da
RGB
123, 33, 218
HSL
269.19°, 73.71%, 49.22%
OKLCH
0.5 0.25 298.2
Names
—
Lists

Codes

FormatValue
HEX#7b21da
RGBrgb(123 33 218)
HSLhsl(269.19 73.71% 49.22%)
OKLCHoklch(0.5 0.25 298.2)
CMYKcmyk(43.58% 84.86% 0% 14.51%)
Android#ff7b21da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7b21da;
background-color: #7b21da;
bg-[#7b21da]