Skip to content
Vectorlight.net

#951cdd

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

HEX
#951cdd
RGB
149, 28, 221
HSL
277.62°, 77.51%, 48.82%
OKLCH
0.53 0.26 307.1
Names
—
Lists

Codes

FormatValue
HEX#951cdd
RGBrgb(149 28 221)
HSLhsl(277.62 77.51% 48.82%)
OKLCHoklch(0.53 0.26 307.1)
CMYKcmyk(32.58% 87.33% 0% 13.33%)
Android#ff951cdd

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

Recolor an SVG with this color

CSS

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