Skip to content
Vectorlight.net

#983aeb

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

HEX
#983aeb
RGB
152, 58, 235
HSL
271.86°, 81.57%, 57.45%
OKLCH
0.57 0.25 303.32
Names
—
Lists

Codes

FormatValue
HEX#983aeb
RGBrgb(152 58 235)
HSLhsl(271.86 81.57% 57.45%)
OKLCHoklch(0.57 0.25 303.32)
CMYKcmyk(35.32% 75.32% 0% 7.84%)
Android#ff983aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #983aeb;
background-color: #983aeb;
bg-[#983aeb]