Skip to content
Vectorlight.net

#a308bc

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

HEX
#a308bc
RGB
163, 8, 188
HSL
291.67°, 91.84%, 38.43%
OKLCH
0.52 0.25 320.72
Names
—
Lists

Codes

FormatValue
HEX#a308bc
RGBrgb(163 8 188)
HSLhsl(291.67 91.84% 38.43%)
OKLCHoklch(0.52 0.25 320.72)
CMYKcmyk(13.3% 95.74% 0% 26.27%)
Android#ffa308bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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