Skip to content
Vectorlight.net

#754fba

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

HEX
#754fba
RGB
117, 79, 186
HSL
261.31°, 43.67%, 51.96%
OKLCH
0.52 0.16 296.77
Names
—
Lists

Codes

FormatValue
HEX#754fba
RGBrgb(117 79 186)
HSLhsl(261.31 43.67% 51.96%)
OKLCHoklch(0.52 0.16 296.77)
CMYKcmyk(37.1% 57.53% 0% 27.06%)
Android#ff754fba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #754fba;
background-color: #754fba;
bg-[#754fba]