Skip to content
Vectorlight.net

#8a7fdc

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

HEX
#8a7fdc
RGB
138, 127, 220
HSL
247.1°, 57.06%, 68.04%
OKLCH
0.65 0.14 287.37
Names
—
Lists

Codes

FormatValue
HEX#8a7fdc
RGBrgb(138 127 220)
HSLhsl(247.1 57.06% 68.04%)
OKLCHoklch(0.65 0.14 287.37)
CMYKcmyk(37.27% 42.27% 0% 13.73%)
Android#ff8a7fdc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #8a7fdc;
background-color: #8a7fdc;
bg-[#8a7fdc]