Skip to content
Vectorlight.net

#9d5ced

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

HEX
#9d5ced
RGB
157, 92, 237
HSL
266.9°, 80.11%, 64.51%
OKLCH
0.62 0.21 301.06
Names
—
Lists

Codes

FormatValue
HEX#9d5ced
RGBrgb(157 92 237)
HSLhsl(266.9 80.11% 64.51%)
OKLCHoklch(0.62 0.21 301.06)
CMYKcmyk(33.76% 61.18% 0% 7.06%)
Android#ff9d5ced

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9d5ced;
background-color: #9d5ced;
bg-[#9d5ced]