Skip to content
Vectorlight.net

#a238da

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

HEX
#a238da
RGB
162, 56, 218
HSL
279.26°, 68.64%, 53.73%
OKLCH
0.57 0.24 310.79
Names
—
Lists

Codes

FormatValue
HEX#a238da
RGBrgb(162 56 218)
HSLhsl(279.26 68.64% 53.73%)
OKLCHoklch(0.57 0.24 310.79)
CMYKcmyk(25.69% 74.31% 0% 14.51%)
Android#ffa238da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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