Skip to content
Vectorlight.net

#9255dc

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

HEX
#9255dc
RGB
146, 85, 220
HSL
267.11°, 65.85%, 59.8%
OKLCH
0.58 0.2 301.28
Names
—
Lists

Codes

FormatValue
HEX#9255dc
RGBrgb(146 85 220)
HSLhsl(267.11 65.85% 59.8%)
OKLCHoklch(0.58 0.2 301.28)
CMYKcmyk(33.64% 61.36% 0% 13.73%)
Android#ff9255dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9255dc;
background-color: #9255dc;
bg-[#9255dc]