Skip to content
Vectorlight.net

#983aed

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

HEX
#983aed
RGB
152, 58, 237
HSL
271.51°, 83.26%, 57.84%
OKLCH
0.57 0.25 302.91
Names
—
Lists

Codes

FormatValue
HEX#983aed
RGBrgb(152 58 237)
HSLhsl(271.51 83.26% 57.84%)
OKLCHoklch(0.57 0.25 302.91)
CMYKcmyk(35.86% 75.53% 0% 7.06%)
Android#ff983aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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