Skip to content
Vectorlight.net

#a233df

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

HEX
#a233df
RGB
162, 51, 223
HSL
278.72°, 72.88%, 53.73%
OKLCH
0.57 0.25 309.91
Names
—
Lists

Codes

FormatValue
HEX#a233df
RGBrgb(162 51 223)
HSLhsl(278.72 72.88% 53.73%)
OKLCHoklch(0.57 0.25 309.91)
CMYKcmyk(27.35% 77.13% 0% 12.55%)
Android#ffa233df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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