Skip to content
Vectorlight.net

#951acd

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

HEX
#951acd
RGB
149, 26, 205
HSL
281.23°, 77.49%, 45.29%
OKLCH
0.52 0.25 311.04
Names
—
Lists

Codes

FormatValue
HEX#951acd
RGBrgb(149 26 205)
HSLhsl(281.23 77.49% 45.29%)
OKLCHoklch(0.52 0.25 311.04)
CMYKcmyk(27.32% 87.32% 0% 19.61%)
Android#ff951acd

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="#951acd"
Gradient stop
<stop stop-color="#951acd"/>
CSS variable + fill
:root { --c: #951acd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #951acd;
background-color: #951acd;
bg-[#951acd]