Skip to content
Vectorlight.net

#7304cc

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

HEX
#7304cc
RGB
115, 4, 204
HSL
273.3°, 96.15%, 40.78%
OKLCH
0.47 0.25 299.36
Names
—
Lists

Codes

FormatValue
HEX#7304cc
RGBrgb(115 4 204)
HSLhsl(273.3 96.15% 40.78%)
OKLCHoklch(0.47 0.25 299.36)
CMYKcmyk(43.63% 98.04% 0% 20%)
Android#ff7304cc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #7304cc;
background-color: #7304cc;
bg-[#7304cc]