Skip to content
Vectorlight.net

#a237f0

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

HEX
#a237f0
RGB
162, 55, 240
HSL
274.7°, 86.05%, 57.84%
OKLCH
0.58 0.26 305.87
Names
—
Lists

Codes

FormatValue
HEX#a237f0
RGBrgb(162 55 240)
HSLhsl(274.7 86.05% 57.84%)
OKLCHoklch(0.58 0.26 305.87)
CMYKcmyk(32.5% 77.08% 0% 5.88%)
Android#ffa237f0

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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