Skip to content
Vectorlight.net

#a23cdc

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

HEX
#a23cdc
RGB
162, 60, 220
HSL
278.25°, 69.57%, 54.9%
OKLCH
0.57 0.23 310.03
Names
—
Lists

Codes

FormatValue
HEX#a23cdc
RGBrgb(162 60 220)
HSLhsl(278.25 69.57% 54.9%)
OKLCHoklch(0.57 0.23 310.03)
CMYKcmyk(26.36% 72.73% 0% 13.73%)
Android#ffa23cdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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