Skip to content
Vectorlight.net

#a248bf

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

HEX
#a248bf
RGB
162, 72, 191
HSL
285.38°, 48.18%, 51.57%
OKLCH
0.57 0.19 317.04
Names
—
Lists

Codes

FormatValue
HEX#a248bf
RGBrgb(162 72 191)
HSLhsl(285.38 48.18% 51.57%)
OKLCHoklch(0.57 0.19 317.04)
CMYKcmyk(15.18% 62.3% 0% 25.1%)
Android#ffa248bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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