Skip to content
Vectorlight.net

#a23dcf

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

HEX
#a23dcf
RGB
162, 61, 207
HSL
281.51°, 60.33%, 52.55%
OKLCH
0.57 0.22 313.25
Names
—
Lists

Codes

FormatValue
HEX#a23dcf
RGBrgb(162 61 207)
HSLhsl(281.51 60.33% 52.55%)
OKLCHoklch(0.57 0.22 313.25)
CMYKcmyk(21.74% 70.53% 0% 18.82%)
Android#ffa23dcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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