Skip to content
Vectorlight.net

#912fcf

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

HEX
#912fcf
RGB
145, 47, 207
HSL
276.75°, 62.99%, 49.8%
OKLCH
0.53 0.23 308
Names
—
Lists

Codes

FormatValue
HEX#912fcf
RGBrgb(145 47 207)
HSLhsl(276.75 62.99% 49.8%)
OKLCHoklch(0.53 0.23 308)
CMYKcmyk(29.95% 77.29% 0% 18.82%)
Android#ff912fcf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #912fcf;
background-color: #912fcf;
bg-[#912fcf]