Skip to content
Vectorlight.net

#a398fd

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

HEX
#a398fd
RGB
163, 152, 253
HSL
246.53°, 96.19%, 79.41%
OKLCH
0.73 0.14 287.26
Names
—
Lists

Codes

FormatValue
HEX#a398fd
RGBrgb(163 152 253)
HSLhsl(246.53 96.19% 79.41%)
OKLCHoklch(0.73 0.14 287.26)
CMYKcmyk(35.57% 39.92% 0% 0.78%)
Android#ffa398fd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.48:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.46:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a398fd"
Gradient stop
<stop stop-color="#a398fd"/>
CSS variable + fill
:root { --c: #a398fd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a398fd;
background-color: #a398fd;
bg-[#a398fd]