Skip to content
Vectorlight.net

#a258db

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

HEX
#a258db
RGB
162, 88, 219
HSL
273.89°, 64.53%, 60.2%
OKLCH
0.61 0.2 307.57
Names
—
Lists

Codes

FormatValue
HEX#a258db
RGBrgb(162 88 219)
HSLhsl(273.89 64.53% 60.2%)
OKLCHoklch(0.61 0.2 307.57)
CMYKcmyk(26.03% 59.82% 0% 14.12%)
Android#ffa258db

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.23:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.95:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#a258db"
Gradient stop
<stop stop-color="#a258db"/>
CSS variable + fill
:root { --c: #a258db; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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