Skip to content
Vectorlight.net

#7867cb

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

HEX
#7867cb
RGB
120, 103, 203
HSL
250.2°, 49.02%, 60%
OKLCH
0.58 0.15 288.65
Names
—
Lists

Codes

FormatValue
HEX#7867cb
RGBrgb(120 103 203)
HSLhsl(250.2 49.02% 60%)
OKLCHoklch(0.58 0.15 288.65)
CMYKcmyk(40.89% 49.26% 0% 20.39%)
Android#ff7867cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7867cb;
background-color: #7867cb;
bg-[#7867cb]