Skip to content
Vectorlight.net

#951edb

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

HEX
#951edb
RGB
149, 30, 219
HSL
277.78°, 75.9%, 48.82%
OKLCH
0.53 0.26 307.49
Names
—
Lists

Codes

FormatValue
HEX#951edb
RGBrgb(149 30 219)
HSLhsl(277.78 75.9% 48.82%)
OKLCHoklch(0.53 0.26 307.49)
CMYKcmyk(31.96% 86.3% 0% 14.12%)
Android#ff951edb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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