Skip to content
Vectorlight.net

#6226bf

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

HEX
#6226bf
RGB
98, 38, 191
HSL
263.53°, 66.81%, 44.9%
OKLCH
0.45 0.22 293.44
Names
—
Lists

Codes

FormatValue
HEX#6226bf
RGBrgb(98 38 191)
HSLhsl(263.53 66.81% 44.9%)
OKLCHoklch(0.45 0.22 293.44)
CMYKcmyk(48.69% 80.1% 0% 25.1%)
Android#ff6226bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6226bf;
background-color: #6226bf;
bg-[#6226bf]