Skip to content
Vectorlight.net

#a290fb

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

HEX
#a290fb
RGB
162, 144, 251
HSL
250.09°, 93.04%, 77.45%
OKLCH
0.71 0.15 289.68
Names
—
Lists

Codes

FormatValue
HEX#a290fb
RGBrgb(162 144 251)
HSLhsl(250.09 93.04% 77.45%)
OKLCHoklch(0.71 0.15 289.68)
CMYKcmyk(35.46% 42.63% 0% 1.57%)
Android#ffa290fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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