Skip to content
Vectorlight.net

#731ace

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

HEX
#731ace
RGB
115, 26, 206
HSL
269.67°, 77.59%, 45.49%
OKLCH
0.48 0.24 298.11
Names
—
Lists

Codes

FormatValue
HEX#731ace
RGBrgb(115 26 206)
HSLhsl(269.67 77.59% 45.49%)
OKLCHoklch(0.48 0.24 298.11)
CMYKcmyk(44.17% 87.38% 0% 19.22%)
Android#ff731ace

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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