Skip to content
Vectorlight.net

#862dd1

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

HEX
#862dd1
RGB
134, 45, 209
HSL
272.56°, 64.57%, 49.8%
OKLCH
0.52 0.23 303.52
Names
—
Lists

Codes

FormatValue
HEX#862dd1
RGBrgb(134 45 209)
HSLhsl(272.56 64.57% 49.8%)
OKLCHoklch(0.52 0.23 303.52)
CMYKcmyk(35.89% 78.47% 0% 18.04%)
Android#ff862dd1

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #862dd1;
background-color: #862dd1;
bg-[#862dd1]