Skip to content
Vectorlight.net

#a23988

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

HEX
#a23988
RGB
162, 57, 136
HSL
314.86°, 47.95%, 42.94%
OKLCH
0.52 0.17 338.83
Names
—
Lists

Codes

FormatValue
HEX#a23988
RGBrgb(162 57 136)
HSLhsl(314.86 47.95% 42.94%)
OKLCHoklch(0.52 0.17 338.83)
CMYKcmyk(0% 64.81% 16.05% 36.47%)
Android#ffa23988

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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