Skip to content
Vectorlight.net

#6904ca

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

HEX
#6904ca
RGB
105, 4, 202
HSL
270.61°, 96.12%, 40.39%
OKLCH
0.45 0.25 295.84
Names
—
Lists

Codes

FormatValue
HEX#6904ca
RGBrgb(105 4 202)
HSLhsl(270.61 96.12% 40.39%)
OKLCHoklch(0.45 0.25 295.84)
CMYKcmyk(48.02% 98.02% 0% 20.78%)
Android#ff6904ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #6904ca;
background-color: #6904ca;
bg-[#6904ca]