Skip to content
Vectorlight.net

#a198fc

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

HEX
#a198fc
RGB
161, 152, 252
HSL
245.4°, 94.34%, 79.22%
OKLCH
0.73 0.14 286.4
Names
—
Lists

Codes

FormatValue
HEX#a198fc
RGBrgb(161 152 252)
HSLhsl(245.4 94.34% 79.22%)
OKLCHoklch(0.73 0.14 286.4)
CMYKcmyk(36.11% 39.68% 0% 1.18%)
Android#ffa198fc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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