Skip to content
Vectorlight.net

#a255bc

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

HEX
#a255bc
RGB
162, 85, 188
HSL
284.85°, 43.46%, 53.53%
OKLCH
0.58 0.17 316.91
Names
—
Lists

Codes

FormatValue
HEX#a255bc
RGBrgb(162 85 188)
HSLhsl(284.85 43.46% 53.53%)
OKLCHoklch(0.58 0.17 316.91)
CMYKcmyk(13.83% 54.79% 0% 26.27%)
Android#ffa255bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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