Skip to content
Vectorlight.net

#6312bd

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

HEX
#6312bd
RGB
99, 18, 189
HSL
268.42°, 82.61%, 40.59%
OKLCH
0.44 0.23 295.79
Names
—
Lists

Codes

FormatValue
HEX#6312bd
RGBrgb(99 18 189)
HSLhsl(268.42 82.61% 40.59%)
OKLCHoklch(0.44 0.23 295.79)
CMYKcmyk(47.62% 90.48% 0% 25.88%)
Android#ff6312bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6312bd;
background-color: #6312bd;
bg-[#6312bd]