Skip to content
Vectorlight.net

#731feb

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

HEX
#731feb
RGB
115, 31, 235
HSL
264.71°, 83.61%, 52.16%
OKLCH
0.51 0.26 292.12
Names
—
Lists

Codes

FormatValue
HEX#731feb
RGBrgb(115 31 235)
HSLhsl(264.71 83.61% 52.16%)
OKLCHoklch(0.51 0.26 292.12)
CMYKcmyk(51.06% 86.81% 0% 7.84%)
Android#ff731feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #731feb;
background-color: #731feb;
bg-[#731feb]