Skip to content
Vectorlight.net

#a237f8

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

HEX
#a237f8
RGB
162, 55, 248
HSL
273.26°, 93.24%, 59.41%
OKLCH
0.59 0.26 304.22
Names
—
Lists

Codes

FormatValue
HEX#a237f8
RGBrgb(162 55 248)
HSLhsl(273.26 93.24% 59.41%)
OKLCHoklch(0.59 0.26 304.22)
CMYKcmyk(34.68% 77.82% 0% 2.75%)
Android#ffa237f8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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