Skip to content
Vectorlight.net

#a268cc

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

HEX
#a268cc
RGB
162, 104, 204
HSL
274.8°, 49.5%, 60.39%
OKLCH
0.62 0.16 309.33
Names
—
Lists

Codes

FormatValue
HEX#a268cc
RGBrgb(162 104 204)
HSLhsl(274.8 49.5% 60.39%)
OKLCHoklch(0.62 0.16 309.33)
CMYKcmyk(20.59% 49.02% 0% 20%)
Android#ffa268cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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