Skip to content
Vectorlight.net

#a237ee

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

HEX
#a237ee
RGB
162, 55, 238
HSL
275.08°, 84.33%, 57.45%
OKLCH
0.58 0.26 306.29
Names
—
Lists

Codes

FormatValue
HEX#a237ee
RGBrgb(162 55 238)
HSLhsl(275.08 84.33% 57.45%)
OKLCHoklch(0.58 0.26 306.29)
CMYKcmyk(31.93% 76.89% 0% 6.67%)
Android#ffa237ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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