Skip to content
Vectorlight.net

#a255ef

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

HEX
#a255ef
RGB
162, 85, 239
HSL
270°, 82.8%, 63.53%
OKLCH
0.61 0.22 303.41
Names
—
Lists

Codes

FormatValue
HEX#a255ef
RGBrgb(162 85 239)
HSLhsl(270 82.8% 63.53%)
OKLCHoklch(0.61 0.22 303.41)
CMYKcmyk(32.22% 64.44% 0% 6.27%)
Android#ffa255ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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